mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-01 04:37:34 +00:00
docs: improve diff doc
by better displaying the synthax that should be used
(ie `REPO::ARCHIVE1`)
(cherry picked from commit de25f1c3c7
)
This commit is contained in:
parent
e619f373d3
commit
32dfdf5dcb
1 changed files with 2 additions and 2 deletions
|
@ -3344,7 +3344,7 @@ def define_archive_filters_group(subparser, *, sort_by=True, first_last=True):
|
||||||
diff_epilog = process_epilog("""
|
diff_epilog = process_epilog("""
|
||||||
This command finds differences (file contents, user/group/mode) between archives.
|
This command finds differences (file contents, user/group/mode) between archives.
|
||||||
|
|
||||||
A repository location and an archive name must be specified for REPO_ARCHIVE1.
|
A repository location and an archive name must be specified for REPO::ARCHIVE1.
|
||||||
ARCHIVE2 is just another archive name in same repository (no repository location
|
ARCHIVE2 is just another archive name in same repository (no repository location
|
||||||
allowed).
|
allowed).
|
||||||
|
|
||||||
|
@ -3371,7 +3371,7 @@ def define_archive_filters_group(subparser, *, sort_by=True, first_last=True):
|
||||||
help='Override check of chunker parameters.')
|
help='Override check of chunker parameters.')
|
||||||
subparser.add_argument('--sort', dest='sort', action='store_true',
|
subparser.add_argument('--sort', dest='sort', action='store_true',
|
||||||
help='Sort the output lines by file path.')
|
help='Sort the output lines by file path.')
|
||||||
subparser.add_argument('location', metavar='REPO_ARCHIVE1',
|
subparser.add_argument('location', metavar='REPO::ARCHIVE1',
|
||||||
type=location_validator(archive=True),
|
type=location_validator(archive=True),
|
||||||
help='repository location and ARCHIVE1 name')
|
help='repository location and ARCHIVE1 name')
|
||||||
subparser.add_argument('archive2', metavar='ARCHIVE2',
|
subparser.add_argument('archive2', metavar='ARCHIVE2',
|
||||||
|
|
Loading…
Reference in a new issue