Browse Source

list: more Highlander options, fixes #6269

Thomas Waldmann 2 years ago
parent
commit
644796ad6b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/borg/archiver/list_cmd.py

+ 2 - 1
src/borg/archiver/list_cmd.py

@@ -2,7 +2,7 @@ import argparse
 import textwrap
 import sys
 
-from ._common import with_repository, build_matcher
+from ._common import with_repository, build_matcher, Highlander
 from ..archive import Archive
 from ..cache import Cache
 from ..constants import *  # NOQA
@@ -105,6 +105,7 @@ class ListMixIn:
             "--format",
             metavar="FORMAT",
             dest="format",
+            action=Highlander,
             help="specify format for file listing "
             '(default: "{mode} {user:6} {group:6} {size:8} {mtime} {path}{extra}{NL}")',
         )