fix: only first value
This commit is contained in:
parent
002e98d801
commit
15598724bc
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue