浏览代码

improve patterns help

eoli3n 2 年之前
父节点
当前提交
9bbb38d9ab
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/borg/archiver/help_cmd.py

+ 3 - 3
src/borg/archiver/help_cmd.py

@@ -28,9 +28,9 @@ class HelpMixIn:
 
         Starting with Borg 1.2, paths that are matched against patterns always
         appear relative. If you give ``/absolute/`` as root, the paths going
-        into the matcher will look relative like ``absolute/.../file.ext``.
-        If you give ``../some/path`` as root, the paths will look like
-        ``some/path/.../file.ext``.
+        into the matcher will start with ``absolute/``.
+        If you give ``../../relative`` as root, the paths will be normalized
+        as ``relative/``.
 
         File patterns support five different styles. If followed by a colon ':',
         the first two characters of a pattern are used as a style selector.