1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 10:42:34 +01:00

properly implement -d,--dest options

This commit is contained in:
Mike Fährmann 2015-11-14 16:07:10 +01:00
parent b041906c2c
commit b683427d42
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -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)