Omit "-c" when describing default value for -c

This commit is contained in:
Tim Ruffing
2025-11-18 09:55:54 +01:00
parent 573405bb88
commit ea45a37db8
+1 -1
View File
@@ -581,7 +581,7 @@ def make_parsers(schema, unparsed_arguments): # noqa: PLR0915
'--config',
dest='config_paths',
action='append',
help='Configuration filename or directory, can specify flag multiple times, defaults to "-c \'/etc/borgmatic/config.yaml\' -c \'/etc/borgmatic.d\' -c \'$XDG_CONFIG_HOME/borgmatic/config.yaml\' -c \'$XDG_CONFIG_HOME/borgmatic.d\'", where $XDG_CONFIG_HOME defaults to "$HOME/.config"',
help='Configuration filename or directory, can specify flag multiple times, defaults to /etc/borgmatic/config.yaml, /etc/borgmatic.d, $XDG_CONFIG_HOME/borgmatic/config.yaml, and $XDG_CONFIG_HOME/borgmatic.d, where $XDG_CONFIG_HOME defaults to $HOME/.config',
)
global_group.add_argument(
'-n',