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:
committed by
GitHub
parent
4e1b1d0142
commit
a66d53f453
@@ -117,8 +117,8 @@ public class App {
|
|||||||
logger.info("Initialized ripme v" + UpdateUtils.getThisJarVersion());
|
logger.info("Initialized ripme v" + UpdateUtils.getThisJarVersion());
|
||||||
|
|
||||||
//Set history file
|
//Set history file
|
||||||
if (cl.hasOption('z')) {
|
if (cl.hasOption('H')) {
|
||||||
String historyLocation = cl.getOptionValue('z');
|
String historyLocation = cl.getOptionValue('H');
|
||||||
Utils.setConfigString("history.location", historyLocation);
|
Utils.setConfigString("history.location", historyLocation);
|
||||||
logger.info("Set history file to " + 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("p", "proxy-server", true, "Use HTTP Proxy server ([user:password]@host[:port])");
|
||||||
opts.addOption("j", "update", false, "Update ripme");
|
opts.addOption("j", "update", false, "Update ripme");
|
||||||
opts.addOption("a","append-to-folder", true, "Append a string to the output folder name");
|
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;
|
return opts;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user