From 1a6d1d0c7cf5a442ed3cde5b2cde17cc07b326d7 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 6 Apr 2023 17:47:56 +0200 Subject: [PATCH] rlist: more Highlander options, fixes #6269 --- src/borg/archiver/rlist_cmd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/borg/archiver/rlist_cmd.py b/src/borg/archiver/rlist_cmd.py index 895d426a1..411712626 100644 --- a/src/borg/archiver/rlist_cmd.py +++ b/src/borg/archiver/rlist_cmd.py @@ -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(