From de25f1c3c7060c0ec5c941ea402aab55eea35037 Mon Sep 17 00:00:00 2001 From: Philippe MIOSSEC Date: Tue, 12 Jun 2018 11:09:04 +0200 Subject: [PATCH] docs: improve diff doc by better displaying the synthax that should be used (ie `REPO::ARCHIVE1`) --- src/borg/archiver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/borg/archiver.py b/src/borg/archiver.py index 5d52ae7c4..b84daeb90 100644 --- a/src/borg/archiver.py +++ b/src/borg/archiver.py @@ -3154,7 +3154,7 @@ def define_archive_filters_group(subparser, *, sort_by=True, first_last=True): diff_epilog = process_epilog(""" 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 allowed). @@ -3181,7 +3181,7 @@ def define_archive_filters_group(subparser, *, sort_by=True, first_last=True): help='Override check of chunker parameters.') subparser.add_argument('--sort', dest='sort', action='store_true', 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), help='repository location and ARCHIVE1 name') subparser.add_argument('archive2', metavar='ARCHIVE2',