浏览代码

Update help docs to reflect support for alternative grouping in shell-style patterns

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

+ 2 - 1
src/borg/archiver/help_cmd.py

@@ -59,7 +59,8 @@ class HelpMixIn:
             Like fnmatch patterns these are similar to shell patterns. The difference
             Like fnmatch patterns these are similar to shell patterns. The difference
             is that the pattern may include ``**/`` for matching zero or more directory
             is that the pattern may include ``**/`` for matching zero or more directory
             levels, ``*`` for matching zero or more arbitrary characters with the
             levels, ``*`` for matching zero or more arbitrary characters with the
-            exception of any path separator. A leading path separator is always removed.
+            exception of any path separator, ``{}`` containing comma-separated
+            alternative patterns. A leading path separator is always removed.
 
 
         `Regular expressions <https://docs.python.org/3/library/re.html>`_, selector ``re:``
         `Regular expressions <https://docs.python.org/3/library/re.html>`_, selector ``re:``
             Unlike shell patterns, regular expressions are not required to match the full
             Unlike shell patterns, regular expressions are not required to match the full