mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-02-21 06:32:42 +01:00
move l option to before r and R
This commit is contained in:
parent
3cba8220c1
commit
fbf4273ec3
@ -169,6 +169,12 @@ public class App {
|
|||||||
Utils.setConfigBoolean("errors.skip404", true);
|
Utils.setConfigBoolean("errors.skip404", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Destination directory
|
||||||
|
if (cl.hasOption('l')) {
|
||||||
|
// change the default rips directory
|
||||||
|
Utils.setConfigString("rips.directory", cl.getOptionValue('l'));
|
||||||
|
}
|
||||||
|
|
||||||
//Re-rip <i>all</i> previous albums
|
//Re-rip <i>all</i> previous albums
|
||||||
if (cl.hasOption('r')) {
|
if (cl.hasOption('r')) {
|
||||||
// Re-rip all via command-line
|
// Re-rip all via command-line
|
||||||
@ -245,12 +251,6 @@ public class App {
|
|||||||
System.exit(-1);
|
System.exit(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Destination directory
|
|
||||||
if (cl.hasOption('l')) {
|
|
||||||
// change the default rips directory
|
|
||||||
Utils.setConfigString("rips.directory", cl.getOptionValue('l'));
|
|
||||||
}
|
|
||||||
|
|
||||||
//Read URLs from File
|
//Read URLs from File
|
||||||
if (cl.hasOption('f')) {
|
if (cl.hasOption('f')) {
|
||||||
String filename = cl.getOptionValue('f');
|
String filename = cl.getOptionValue('f');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user