1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-03-09 21:57:24 +00:00

Clarify borg prune -a option description (#7871)

Clarify borg prune -a option description.

The -a option for borg prune accepts only glob pattern (i.e. sh:)
but not the actual prefix sh: which can be confusing especially for
people who don't actually know what glob pattern is.
This commit is contained in:
Johannes Lade 2023-10-14 22:00:19 +02:00 committed by GitHub
parent e2ea9b6547
commit d482251a3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3025,7 +3025,7 @@ class Archiver:
group.add_argument('-a', '--glob-archives', metavar='GLOB', dest='glob_archives',
type=GlobSpec, action=Highlander,
help='only consider archive names matching the glob. '
'sh: rules apply, see "borg help patterns".')
'sh: rules apply (without actually using the sh: prefix), see "borg help patterns".')
if sort_by:
sort_by_default = 'timestamp'