--repo: add -r short option

This commit is contained in:
Thomas Waldmann 2022-06-16 15:41:37 +02:00
parent 801ce819a3
commit 206245f3cd

View file

@ -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")