浏览代码

build_usage

Thomas Waldmann 3 年之前
父节点
当前提交
fc3b7fdad1
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      docs/usage/help.rst.inc

+ 4 - 4
docs/usage/help.rst.inc

@@ -133,9 +133,9 @@ Examples::
     /home/*/junk
     *.tmp
     fm:aa:something/*
-    re:^home/[^/]\.tmp/
-    sh:home/*/.thumbnails
-     # Example with spaces, no need to escape as it is processed by borg
+    re:^/home/[^/]+\.tmp/
+    sh:/home/*/.thumbnails
+    # Example with spaces, no need to escape as it is processed by borg
     some file with spaces.txt
     EOF
     $ borg create --exclude-from exclude.txt backup /
@@ -153,7 +153,7 @@ Examples::
 
         Via ``--pattern`` or ``--patterns-from`` you can define BOTH inclusion and exclusion
         of files using pattern prefixes ``+`` and ``-``. With ``--exclude`` and
-        ``--exlude-from`` ONLY excludes are defined.
+        ``--exclude-from`` ONLY excludes are defined.
 
     Inclusion patterns are useful to include paths that are contained in an excluded
     path. The first matching pattern is used so if an include pattern matches before