1
0
Fork 0
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:
Thomas Waldmann 2023-04-06 17:47:56 +02:00
parent 6ca2256f26
commit 1a6d1d0c7c
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
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(