瀏覽代碼

Exclude --match-archives from global flags since it already exists on several actions (#303).

Dan Helfman 3 月之前
父節點
當前提交
cbfc0bead1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      borgmatic/commands/arguments.py

+ 1 - 1
borgmatic/commands/arguments.py

@@ -288,7 +288,7 @@ def parse_arguments_for_actions(unparsed_arguments, action_parsers, global_parse
     )
 
 
-OMITTED_FLAG_NAMES = {'progress', 'stats', 'list'}
+OMITTED_FLAG_NAMES = {'match_archives', 'progress', 'stats', 'list'}
 
 
 def add_arguments_from_schema(arguments_group, schema, unparsed_arguments, names=None):