Added -j flag for updating ripme

This commit is contained in:
cyian-1756 2018-06-01 16:00:32 -04:00
parent 2ecffc3497
commit 30a2d015aa

View File

@ -241,6 +241,10 @@ public class App {
ripURL(url, !cl.hasOption("n"));
}
if (cl.hasOption('j')) {
UpdateUtils.updateProgramCLI();
}
}
/**
@ -290,6 +294,7 @@ public class App {
opts.addOption("v", "version", false, "Show current version");
opts.addOption("s", "socks-server", true, "Use socks server ([user:password]@host[:port])");
opts.addOption("p", "proxy-server", true, "Use HTTP Proxy server ([user:password]@host[:port])");
opts.addOption("j", "update", false, "Update ripme");
return opts;
}