mirror of
https://github.com/restic/restic.git
synced 2026-09-01 02:07:14 +00:00
Update documentation for environment variable syntax (#22026)
This commit is contained in:
@@ -399,6 +399,9 @@ sign, write ``$$`` to the file - this has to be done even when there's no
|
||||
matching environment variable for the word following a single ``$``. Note
|
||||
that tilde (``~``) is not expanded, instead use the ``$HOME`` or equivalent
|
||||
environment variable (depending on your operating system).
|
||||
For environment variable names with non-alphanumeric characters,
|
||||
enclose the name in curly braces (e.g., ``${ProgramFiles(x86)}``).
|
||||
Without braces, the parser stops at the first non-alphanumeric character.
|
||||
|
||||
Patterns need to match on complete path components. For example, the pattern ``foo``:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user