Ver Fonte

docs: add missing leading slashes in help patterns (#5869)

docs: add missing leading slashes in help patterns, fixes #5857
remyabel há 4 anos atrás
pai
commit
c4bb9b161c
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/borg/archiver.py

+ 2 - 2
src/borg/archiver.py

@@ -2367,8 +2367,8 @@ class Archiver:
             /home/*/junk
             *.tmp
             fm:aa:something/*
-            re:^home/[^/]\\.tmp/
-            sh:home/*/.thumbnails
+            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