summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Waldmann <tw@waldmann-edv.de>2021-07-12 19:27:10 +0200
committerThomas Waldmann <tw@waldmann-edv.de>2021-07-12 19:27:10 +0200
commitfc3b7fdad10f6b5eaad97b77cff1ad2138903498 (patch)
tree9efb28421b3ae8c47a4fedc8e0b6a164d2ffb95b
parent6c0a09d12c763c5ba425c8f87cc00f1a818fe2f4 (diff)
build_usage
-rw-r--r--docs/usage/help.rst.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/usage/help.rst.inc b/docs/usage/help.rst.inc
index 4ad79fde3..6dea4cbea 100644
--- a/docs/usage/help.rst.inc
+++ b/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