소스 검색

Clarify the command-line help for the "--config" flag (#919).

Dan Helfman 8 달 전
부모
커밋
f7e8a2c1d1
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      NEWS
  2. 1 1
      borgmatic/commands/arguments.py

+ 1 - 0
NEWS

@@ -1,4 +1,5 @@
 1.8.15.dev0
+ * #919: Clarify the command-line help for the "--config" flag.
  * #918: BREAKING: When databases are configured, don't auto-enable the "one_file_system" option,
    as existing auto-excludes of special files should be sufficient to prevent Borg from hanging on
    them. But if this change causes problems for you, you can always enable "one_file_system"

+ 1 - 1
borgmatic/commands/arguments.py

@@ -300,7 +300,7 @@ def make_parsers():
         '--config',
         dest='config_paths',
         action='append',
-        help=f"Configuration filename or directory, can specify flag multiple times, defaults to: {' '.join(unexpanded_config_paths)}",
+        help=f"Configuration filename or directory, can specify flag multiple times, defaults to: -c {' -c '.join(unexpanded_config_paths)}",
     )
     global_group.add_argument(
         '-n',