1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-26 15:24:51 +02:00

Update App.java

This commit is contained in:
inthebrilliantblue
2019-07-02 14:44:19 -05:00
committed by GitHub
parent 4e1b1d0142
commit a66d53f453

View File

@@ -117,8 +117,8 @@ public class App {
logger.info("Initialized ripme v" + UpdateUtils.getThisJarVersion());
//Set history file
if (cl.hasOption('z')) {
String historyLocation = cl.getOptionValue('z');
if (cl.hasOption('H')) {
String historyLocation = cl.getOptionValue('H');
Utils.setConfigString("history.location", historyLocation);
logger.info("Set history file to " + historyLocation);
}
@@ -310,7 +310,7 @@ public class App {
opts.addOption("p", "proxy-server", true, "Use HTTP Proxy server ([user:password]@host[:port])");
opts.addOption("j", "update", false, "Update ripme");
opts.addOption("a","append-to-folder", true, "Append a string to the output folder name");
opts.addOption("z", "history", true, "Set history file location.");
opts.addOption("H", "history", true, "Set history file location.");
return opts;
}