mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-10 06:03:38 +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:
parent
e2ea9b6547
commit
d482251a3e
1 changed files with 1 additions and 1 deletions
|
@ -3025,7 +3025,7 @@ class Archiver:
|
||||||
group.add_argument('-a', '--glob-archives', metavar='GLOB', dest='glob_archives',
|
group.add_argument('-a', '--glob-archives', metavar='GLOB', dest='glob_archives',
|
||||||
type=GlobSpec, action=Highlander,
|
type=GlobSpec, action=Highlander,
|
||||||
help='only consider archive names matching the glob. '
|
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:
|
if sort_by:
|
||||||
sort_by_default = 'timestamp'
|
sort_by_default = 'timestamp'
|
||||||
|
|
Loading…
Add table
Reference in a new issue