diff --git a/src/borg/archiver.py b/src/borg/archiver.py index dd834f592..487b31a16 100644 --- a/src/borg/archiver.py +++ b/src/borg/archiver.py @@ -3207,7 +3207,7 @@ class Archiver: 'compatible file can be generated by suffixing FILE with ".pyprof".') add_common_option('--rsh', metavar='RSH', dest='rsh', help="Use this command to connect to the 'borg serve' process (default: 'ssh')") - add_common_option('--repo', metavar='REPO', dest='location', + add_common_option('-r', '--repo', metavar='REPO', dest='location', type=location_validator(other=False), default=Location(other=False), help="repository to use")