From 44d63cac072ad75741fa9541ad97e16dff51e54a Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Wed, 22 Oct 2025 10:28:20 -0700 Subject: [PATCH] Mention that repo-create is also known as init in command-line help. --- borgmatic/commands/arguments.py | 4 ++-- docs/how-to/set-up-backups.md | 1 + docs/reference/command-line/actions/repo-create.md | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/borgmatic/commands/arguments.py b/borgmatic/commands/arguments.py index 9d5fe6dc..8dd35b59 100644 --- a/borgmatic/commands/arguments.py +++ b/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', 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, ) repo_create_group = repo_create_parser.add_argument_group('repo-create arguments') diff --git a/docs/how-to/set-up-backups.md b/docs/how-to/set-up-backups.md index 3b289600..5ca6be90 100644 --- a/docs/how-to/set-up-backups.md +++ b/docs/how-to/set-up-backups.md @@ -5,6 +5,7 @@ eleventyNavigation: parent: How-to guides order: 0 --- + To install borgmatic, first [install Borg](https://borgbackup.readthedocs.io/en/stable/installation.html), at least version 1.1. (borgmatic does not install Borg automatically so as to avoid diff --git a/docs/reference/command-line/actions/repo-create.md b/docs/reference/command-line/actions/repo-create.md index d0820e52..aec368de 100644 --- a/docs/reference/command-line/actions/repo-create.md +++ b/docs/reference/command-line/actions/repo-create.md @@ -4,7 +4,6 @@ eleventyNavigation: key: repo-create parent: 🎬 Actions --- - ``` {% include borgmatic/command-line/repo-create.txt %} ```