Explorar o código

add more justification to checks

Isaac %!s(int64=2) %!d(string=hai) anos
pai
achega
c8f4344f89
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      borgmatic/commands/completion.py

+ 1 - 0
borgmatic/commands/completion.py

@@ -218,6 +218,7 @@ def fish_completion():
             # -n is checked in order, so put faster / more likely to be true checks first
             f'''complete -c borgmatic -f -n "$exact_option_condition" -a '{' '.join(action.option_strings)}' -d {shlex.quote(action.help)}{exact_options_completion(action)}'''
             for action in top_level_parser._actions
+            # ignore the noargs action, as this is an impossible completion for fish
             if len(action.option_strings) > 0
             if 'Deprecated' not in action.help
         )