فهرست منبع

fix flag showing up for paths

Isaac 2 سال پیش
والد
کامیت
b4a38d8be9
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      borgmatic/commands/completion.py

+ 1 - 1
borgmatic/commands/completion.py

@@ -94,7 +94,7 @@ def exact_options_completion(action: Action):
     args = ' '.join(action.option_strings)
 
     if action.metavar in file_metavars or action.dest in file_destinations:
-        return f'''\ncomplete -c borgmatic -Fr -a '{args}' -n "__borgmatic_last_arg {args}"'''
+        return f'''\ncomplete -c borgmatic -Fr -n "__borgmatic_last_arg {args}"'''
 
     if action.choices:
         return f'''\ncomplete -c borgmatic -f -a '{' '.join(map(str, action.choices))}' -n "__borgmatic_last_arg {args}"'''