mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 02:32:33 +01:00
properly implement -d,--dest options
This commit is contained in:
parent
b041906c2c
commit
b683427d42
@ -58,6 +58,9 @@ def main():
|
||||
parser = build_cmdline_parser()
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.dest:
|
||||
config.set(("base-directory",), args.dest)
|
||||
|
||||
for opt in args.option:
|
||||
try:
|
||||
key, value = opt.split("=", 1)
|
||||
|
Loading…
Reference in New Issue
Block a user