cli_function: handle nargs="*" in config file

nargs="*" leads to default [] and not None
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-01-22 00:00:00 +00:00
parent 5541167853
commit 44a674e87d
2 changed files with 11 additions and 1 deletions

View File

@@ -3,3 +3,4 @@ def set_args(args):
:type args: Dict[str, Any]
'''
args['bool_cli'] = False
args['args_star'] = ['asdf', 'qwer']