Merge pull request #622 from bored/no-prop-file
Reverse -n, --no-prop-file behaviour
This commit is contained in:
commit
ce8c9aa2e3
@ -225,7 +225,7 @@ public class App {
|
|||||||
logger.debug("Skipping over line \"" + url + "\"because it is a comment");
|
logger.debug("Skipping over line \"" + url + "\"because it is a comment");
|
||||||
} else {
|
} else {
|
||||||
// loop through each url in the file and process each url individually.
|
// loop through each url in the file and process each url individually.
|
||||||
ripURL(url.trim(), cl.hasOption("n"));
|
ripURL(url.trim(), !cl.hasOption("n"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (FileNotFoundException fne) {
|
} catch (FileNotFoundException fne) {
|
||||||
@ -238,7 +238,7 @@ public class App {
|
|||||||
//The URL to rip.
|
//The URL to rip.
|
||||||
if (cl.hasOption('u')) {
|
if (cl.hasOption('u')) {
|
||||||
String url = cl.getOptionValue('u').trim();
|
String url = cl.getOptionValue('u').trim();
|
||||||
ripURL(url, cl.hasOption("n"));
|
ripURL(url, !cl.hasOption("n"));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user