properly implement -d,--dest options
This commit is contained in:
@@ -58,6 +58,9 @@ def main():
|
|||||||
parser = build_cmdline_parser()
|
parser = build_cmdline_parser()
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
if args.dest:
|
||||||
|
config.set(("base-directory",), args.dest)
|
||||||
|
|
||||||
for opt in args.option:
|
for opt in args.option:
|
||||||
try:
|
try:
|
||||||
key, value = opt.split("=", 1)
|
key, value = opt.split("=", 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user