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():
|
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:
|
||||||
args, kwargs = value.get()
|
value = values[0]
|
||||||
group.add_argument(*args, **kwargs)
|
args, kwargs = value.get()
|
||||||
|
group.add_argument(*args, **kwargs)
|
||||||
|
|
||||||
# def _valid_mandatory(self):
|
# def _valid_mandatory(self):
|
||||||
# pass
|
# pass
|
||||||
|
|
Loading…
Reference in a new issue