浏览代码

--repo: add -r short option

Thomas Waldmann 3 年之前
父节点
当前提交
206245f3cd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/borg/archiver.py

+ 1 - 1
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")