Explorar o código

placeholders: document escaping

Marian Beermann %!s(int64=8) %!d(string=hai) anos
pai
achega
707316b0ea
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/borg/archiver.py

+ 4 - 0
src/borg/archiver.py

@@ -1755,6 +1755,10 @@ class Archiver:
 
             The version of borg, only major, minor and patch version, e.g.: 1.0.8
 
+        If literal curly braces need to be used, double them for escaping::
+
+            borg create /path/to/repo::{{literal_text}}
+
         Examples::
 
             borg create /path/to/repo::{hostname}-{user}-{utcnow} ...