1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-01 12:45:34 +00:00

list: more Highlander options, fixes #6269

This commit is contained in:
Thomas Waldmann 2023-04-06 17:44:07 +02:00
parent 6074ca44d9
commit 644796ad6b
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

View file

@ -2,7 +2,7 @@
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 @@ def build_parser_list(self, subparsers, common_parser, mid_common_parser):
"--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}")',
)