handle typed without default params
This commit is contained in:
parent
3592ec3ddf
commit
16ac4824a5
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ def has_required_param_options(action: Action):
|
|||
)
|
||||
or '--archive' in action.option_strings
|
||||
or action.metavar in ('PATTERN', 'KEYS', 'N')
|
||||
or (action.type is not None and action.default is None)
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue