Merge branch 'config-flag' of https://github.com/r-pufky/bulk-downloader-for-reddit into r-pufky-config-flag

This commit is contained in:
Ali Parlakci
2021-03-27 12:28:23 +03:00
3 changed files with 34 additions and 11 deletions

View File

@@ -169,6 +169,13 @@ class Arguments:
metavar="DELAY",
type=int,
help="Amount, in seconds, to delay before beginning the next item in the download queue")
parser.add_argument(
"--config","-c",
help="Specify exact config.json file to use. " \
"Disables reading from 'Bulk downloader for " \
"reddit/config.json' and --use-local-config " \
"option.")
if arguments == []:
return parser.parse_args()