mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-27 02:08:54 +00:00
Clarify key aliases for borg list --format (fixes #3111)
This commit is contained in:
parent
b1f9bca8b9
commit
4dab6d29d8
1 changed files with 4 additions and 4 deletions
|
@ -1647,20 +1647,20 @@ def keys_help():
|
||||||
|
|
||||||
class ArchiveFormatter(BaseFormatter):
|
class ArchiveFormatter(BaseFormatter):
|
||||||
KEY_DESCRIPTIONS = {
|
KEY_DESCRIPTIONS = {
|
||||||
'name': 'archive name interpreted as text (might be missing non-text characters, see barchive)',
|
|
||||||
'archive': 'archive name interpreted as text (might be missing non-text characters, see barchive)',
|
'archive': 'archive name interpreted as text (might be missing non-text characters, see barchive)',
|
||||||
|
'name': 'alias of "archive"',
|
||||||
'barchive': 'verbatim archive name, can contain any character except NUL',
|
'barchive': 'verbatim archive name, can contain any character except NUL',
|
||||||
'comment': 'archive comment interpreted as text (might be missing non-text characters, see bcomment)',
|
'comment': 'archive comment interpreted as text (might be missing non-text characters, see bcomment)',
|
||||||
'bcomment': 'verbatim archive comment, can contain any character except NUL',
|
'bcomment': 'verbatim archive comment, can contain any character except NUL',
|
||||||
'time': 'time (start) of creation of the archive',
|
|
||||||
# *start* is the key used by borg-info for this timestamp, this makes the formats more compatible
|
# *start* is the key used by borg-info for this timestamp, this makes the formats more compatible
|
||||||
'start': 'time (start) of creation of the archive',
|
'start': 'time (start) of creation of the archive',
|
||||||
|
'time': 'alias of "start"',
|
||||||
'end': 'time (end) of creation of the archive',
|
'end': 'time (end) of creation of the archive',
|
||||||
'id': 'internal ID of the archive',
|
'id': 'internal ID of the archive',
|
||||||
}
|
}
|
||||||
KEY_GROUPS = (
|
KEY_GROUPS = (
|
||||||
('name', 'archive', 'barchive', 'comment', 'bcomment', 'id'),
|
('archive', 'name', 'barchive', 'comment', 'bcomment', 'id'),
|
||||||
('time', 'start', 'end'),
|
('start', 'time', 'end'),
|
||||||
)
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Reference in a new issue