mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-22 06:01:54 +00:00
Remove --list-format from borg list
While reading the docs I noticed that in `borg list` the options --list-format and --format do the same thing. Using `git log -S` I have uncovered that --list-format used to be deprecated and was supposed to be removed in c87393cab7
, but you overlooked it and undeprecated it instead. What should we do now? Just remove it or deprecate it again?
This commit is contained in:
parent
54b5ae4865
commit
f2ea757fad
1 changed files with 1 additions and 1 deletions
|
@ -4245,7 +4245,7 @@ def define_borg_mount(parser):
|
|||
help='Show checkpoint archives in the repository contents list (default: hidden).')
|
||||
subparser.add_argument('--short', dest='short', action='store_true',
|
||||
help='only print file/directory names, nothing else')
|
||||
subparser.add_argument('--format', '--list-format', metavar='FORMAT', dest='format',
|
||||
subparser.add_argument('--format', metavar='FORMAT', dest='format',
|
||||
help='specify format for file listing '
|
||||
'(default: "{mode} {user:6} {group:6} {size:8d} {mtime} {path}{extra}{NL}")')
|
||||
subparser.add_argument('--json', action='store_true',
|
||||
|
|
Loading…
Reference in a new issue