mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-01 12:45:34 +00:00
rlist: more Highlander options, fixes #6269
This commit is contained in:
parent
6ca2256f26
commit
1a6d1d0c7c
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
import textwrap
|
||||
import sys
|
||||
|
||||
from ._common import with_repository
|
||||
from ._common import with_repository, Highlander
|
||||
from ..constants import * # NOQA
|
||||
from ..helpers import BaseFormatter, ArchiveFormatter, json_print, basic_json_data
|
||||
from ..manifest import Manifest
|
||||
|
@ -106,6 +106,7 @@ def build_parser_rlist(self, subparsers, common_parser, mid_common_parser):
|
|||
"--format",
|
||||
metavar="FORMAT",
|
||||
dest="format",
|
||||
action=Highlander,
|
||||
help="specify format for archive listing " '(default: "{archive:<36} {time} [{id}]{NL}")',
|
||||
)
|
||||
subparser.add_argument(
|
||||
|
|
Loading…
Reference in a new issue