diff --git a/tiramisu_cmdline_parser/api.py b/tiramisu_cmdline_parser/api.py index 32a7363..c54ab99 100644 --- a/tiramisu_cmdline_parser/api.py +++ b/tiramisu_cmdline_parser/api.py @@ -604,9 +604,10 @@ class TiramisuCmdlineParser(ArgumentParser): for option_is_not_default in options_is_not_default.values(): self._option_is_not_default(**option_is_not_default) for values in actions.values(): - for value in values: - args, kwargs = value.get() - group.add_argument(*args, **kwargs) +# for value in values: + value = values[0] + args, kwargs = value.get() + group.add_argument(*args, **kwargs) # def _valid_mandatory(self): # pass