1
0

separate param_descriptions and improve help messages

This commit is contained in:
ThomasV
2015-05-31 10:03:53 +02:00
parent cc610d352f
commit 0caa29784c
2 changed files with 57 additions and 41 deletions

View File

@@ -180,7 +180,7 @@ def run_cmdline(config):
cmd = known_commands[cmdname]
# arguments passed to function
args = map(lambda x: config.get(x), map(lambda x: x[0], cmd.params))
args = map(lambda x: config.get(x), cmd.params)
# options
args += map(lambda x: config.get(x), cmd.options)