1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-25 14:51:11 +02:00

Update App.java

This commit is contained in:
inthebrilliantblue
2019-07-02 12:06:42 -05:00
committed by GitHub
parent 4242ceb462
commit 2de2b4a0fa

View File

@@ -116,6 +116,10 @@ public class App {
Utils.configureLogger();
logger.info("Initialized ripme v" + UpdateUtils.getThisJarVersion());
if (cl.hasOption('H')) {
Utils.setConfigString("history.location", cl.getOptionValue('H'))
}
//Allow file overwriting
if (cl.hasOption('w')) {
Utils.setConfigBoolean("file.overwrite", true);
@@ -242,10 +246,6 @@ public class App {
}
}
if (cl.hasOption('H')) {
String historylocation = cl.getOptionValue('H');
}
//The URL to rip.
if (cl.hasOption('u')) {
String url = cl.getOptionValue('u').trim();