소스 검색

Clarify --archive help.

Dan Helfman 5 년 전
부모
커밋
603f525352
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      borgmatic/commands/arguments.py

+ 2 - 2
borgmatic/commands/arguments.py

@@ -273,7 +273,7 @@ def parse_arguments(*unparsed_arguments):
         '--repository',
         '--repository',
         help='Path of repository to extract, defaults to the configured repository if there is only one',
         help='Path of repository to extract, defaults to the configured repository if there is only one',
     )
     )
-    extract_group.add_argument('--archive', help='Name of archive to operate on', required=True)
+    extract_group.add_argument('--archive', help='Name of archive to extract, required=True)
     extract_group.add_argument(
     extract_group.add_argument(
         '--path',
         '--path',
         '--restore-path',
         '--restore-path',
@@ -311,7 +311,7 @@ def parse_arguments(*unparsed_arguments):
         '--repository',
         '--repository',
         help='Path of repository to restore from, defaults to the configured repository if there is only one',
         help='Path of repository to restore from, defaults to the configured repository if there is only one',
     )
     )
-    restore_group.add_argument('--archive', help='Name of archive to operate on', required=True)
+    restore_group.add_argument('--archive', help='Name of archive to restore from, required=True)
     restore_group.add_argument(
     restore_group.add_argument(
         '--database',
         '--database',
         metavar='NAME',
         metavar='NAME',