From 35bfb393c7c81fb2e05d506f40d48dde5f051f5a Mon Sep 17 00:00:00 2001 From: Nish_ <120EE0980@nitrkl.ac.in> Date: Wed, 7 May 2025 22:25:13 +0530 Subject: [PATCH] remove make-parent-dirs option Signed-off-by: Nish_ <120EE0980@nitrkl.ac.in> --- borgmatic/commands/arguments.py | 2 +- borgmatic/config/schema.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/borgmatic/commands/arguments.py b/borgmatic/commands/arguments.py index c3ff7706..f836ad22 100644 --- a/borgmatic/commands/arguments.py +++ b/borgmatic/commands/arguments.py @@ -667,7 +667,7 @@ def make_parsers(schema, unparsed_arguments): dest='make_parent_directories', default=None, action='store_true', - help='Create any missing parent directories of the repository directory', + help='Create any missing parent directories of the repository directory [Borg 1.x only]', ) repo_create_group.add_argument( '-h', '--help', action='help', help='Show this help message and exit' diff --git a/borgmatic/config/schema.yaml b/borgmatic/config/schema.yaml index a2cdbca8..4f2d976c 100644 --- a/borgmatic/config/schema.yaml +++ b/borgmatic/config/schema.yaml @@ -72,7 +72,8 @@ properties: description: | Whether any missing parent directories of the repository path should be created, only used for the repo-create - action. Defaults to false. + action. Defaults to false. (This option is only present + in Borg 1.x) example: true description: | A required list of local or remote repositories with paths and