From 9bbb38d9ab349000ef0022a97d24a33ac9e7fdaf Mon Sep 17 00:00:00 2001 From: eoli3n Date: Thu, 8 Jun 2023 19:00:31 +0200 Subject: [PATCH] improve patterns help --- src/borg/archiver/help_cmd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/borg/archiver/help_cmd.py b/src/borg/archiver/help_cmd.py index 440a87bbf..16ece6e7e 100644 --- a/src/borg/archiver/help_cmd.py +++ b/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.