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:
parent
6074ca44d9
commit
644796ad6b
1 changed files with 2 additions and 1 deletions
|
@ -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}")',
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue