Commit 6d13d5d9 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

No commit message

No commit message
parent dc1ad3fc
......@@ -129,8 +129,8 @@ if __name__ == '__main__':
# create the subparser for each applications
sub_parser = subparsers.add_parser(instance.name, help=instance.description, fromfile_prefix_chars='@')
sub_parser.convert_arg_line_to_args = instance.__class__.config_parser
parameters_groups = instance.get_parameters_per_groups()
for group in parameters_groups:
[parameters_groups, parameters_order] = instance.get_parameters_per_groups()
for group in parameters_order:
if group == "default":
for param in parameters_groups[group]:
sub_parser.add_argument(param.flag, **param.export_to_argparse())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment