浏览代码

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.
Johannes Lade 1 年之前
父节点
当前提交
d482251a3e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/borg/archiver.py

+ 1 - 1
src/borg/archiver.py

@@ -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'