2
0
Эх сурвалжийг харах

handle typed without default params

Isaac 2 жил өмнө
parent
commit
16ac4824a5

+ 1 - 0
borgmatic/commands/completion.py

@@ -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)
     )