Browse Source

Mention that repo-create is also known as init in command-line help.

Dan Helfman 2 tuần trước cách đây
mục cha
commit
44d63cac07

+ 2 - 2
borgmatic/commands/arguments.py

@@ -641,8 +641,8 @@ def make_parsers(schema, unparsed_arguments):  # noqa: PLR0915
     repo_create_parser = action_parsers.add_parser(
     repo_create_parser = action_parsers.add_parser(
         'repo-create',
         'repo-create',
         aliases=ACTION_ALIASES['repo-create'],
         aliases=ACTION_ALIASES['repo-create'],
-        help='Create a new, empty Borg repository',
-        description='Create a new, empty Borg repository',
+        help='Create a new, empty Borg repository (also known as "init")',
+        description='Create a new, empty Borg repository (also known as "init")',
         add_help=False,
         add_help=False,
     )
     )
     repo_create_group = repo_create_parser.add_argument_group('repo-create arguments')
     repo_create_group = repo_create_parser.add_argument_group('repo-create arguments')

+ 1 - 0
docs/how-to/set-up-backups.md

@@ -5,6 +5,7 @@ eleventyNavigation:
   parent: How-to guides
   parent: How-to guides
   order: 0
   order: 0
 ---
 ---
+
 To install borgmatic, first [install
 To install borgmatic, first [install
 Borg](https://borgbackup.readthedocs.io/en/stable/installation.html), at least
 Borg](https://borgbackup.readthedocs.io/en/stable/installation.html), at least
 version 1.1. (borgmatic does not install Borg automatically so as to avoid
 version 1.1. (borgmatic does not install Borg automatically so as to avoid

+ 0 - 1
docs/reference/command-line/actions/repo-create.md

@@ -4,7 +4,6 @@ eleventyNavigation:
   key: repo-create
   key: repo-create
   parent: 🎬 Actions
   parent: 🎬 Actions
 ---
 ---
-
 ```
 ```
 {% include borgmatic/command-line/repo-create.txt %}
 {% include borgmatic/command-line/repo-create.txt %}
 ```
 ```