Add borgmatic minimum version to compact docs (#624).

Reviewed-on: https://projects.torsion.org/borgmatic-collective/borgmatic/pulls/625
This commit is contained in:
Dan Helfman 2022-12-23 22:11:45 +00:00
commit 4838f5e810
2 changed files with 3 additions and 3 deletions

View file

@ -337,8 +337,8 @@ def make_parsers():
compact_parser = subparsers.add_parser(
'compact',
aliases=SUBPARSER_ALIASES['compact'],
help='Compact segments to free space (Borg 1.2+ only)',
description='Compact segments to free space (Borg 1.2+ only)',
help='Compact segments to free space (Borg 1.2+, Borgmatic 1.5.23+ only)',
description='Compact segments to free space (Borg 1.2+, Borgmatic 1.5.23+ only)',
add_help=False,
)
compact_group = compact_parser.add_argument_group('compact arguments')

View file

@ -257,7 +257,7 @@ See `borgmatic --help` and `borgmatic create --help` for more information.
If you omit `create` and other actions, borgmatic runs through a set of
default actions: `prune` any old backups as per the configured retention
policy, `compact` segments to free up space (with Borg 1.2+), `create` a
policy, `compact` segments to free up space (with Borg 1.2+, Borgmatic 1.5.23+), `create` a
backup, *and* `check` backups for consistency problems due to things like file
damage. For instance: