fix: only first value

This commit is contained in:
egarette@silique.fr 2024-10-31 17:40:43 +01:00
parent 002e98d801
commit 15598724bc

View file

@ -604,7 +604,8 @@ class TiramisuCmdlineParser(ArgumentParser):
for option_is_not_default in options_is_not_default.values(): for option_is_not_default in options_is_not_default.values():
self._option_is_not_default(**option_is_not_default) self._option_is_not_default(**option_is_not_default)
for values in actions.values(): for values in actions.values():
for value in values: # for value in values:
value = values[0]
args, kwargs = value.get() args, kwargs = value.get()
group.add_argument(*args, **kwargs) group.add_argument(*args, **kwargs)