aboutsummaryrefslogtreecommitdiffstats
path: root/docs/configuration.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/configuration.md')
-rw-r--r--docs/configuration.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/configuration.md b/docs/configuration.md
index e40d00e..41a4aff 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -229,10 +229,12 @@ tor-key = "${cmd:secrets ${env:HOSTNAME} show tor}"
alias = { command = ["hostname-of", "${env:SITE}"] }
```
-There, only `${env:`, `${file:` and `${cmd:` begin a placeholder, or the same with
-`$(`, and every other `$` stays as it is, a command's being its shell's (`$HOME`,
+There, only `${env:`, `${file:`, `${cmd:` and `${var:` begin a placeholder, or the same
+with `$(`, and every other `$` stays as it is, a command's being its shell's (`$HOME`,
`$(…)`, `${x:-y}`); `$${` and `$$(` give the shell a `${` or a `$(` that would begin
-one. What a placeholder gives goes in as it is, never
+one. `${var:NAME}` is a variable of the program that reads the configuration, where it
+gives any: continuum gives none, so one is an error, and a shell's own `${var:-x}` is
+written `$${var:-x}`. What a placeholder gives goes in as it is, never
as something to run:
* into a name, a path and an argument as text, an argument staying one argument;