summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGregor Kleen <rmpvqzvcjxvlhbkb@141.li>2017-12-11 23:00:38 +0100
committerGregor Kleen <rmpvqzvcjxvlhbkb@141.li>2017-12-11 23:00:38 +0100
commit85fb38e2f3d7c4df581f2aa58605a507003db492 (patch)
treed16d09dc023904bea922375763d8443416bf07f8 /docs
parente838b48b604d9ccca3706984ba79aebb97ed02e9 (diff)
Add placeholder for fqdn in reverse notation
Diffstat (limited to 'docs')
-rw-r--r--docs/man/borg-placeholders.13
-rw-r--r--docs/usage/help.rst.inc3
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/man/borg-placeholders.1 b/docs/man/borg-placeholders.1
index 9f5012015..90a0ff22e 100644
--- a/docs/man/borg-placeholders.1
+++ b/docs/man/borg-placeholders.1
@@ -42,6 +42,9 @@ The (short) hostname of the machine.
.B {fqdn}
The full name of the machine.
.TP
+.B {reverse-fqdn}
+The full name of the machine in reverse domain name notation.
+.TP
.B {now}
The current local date and time, by default in ISO\-8601 format.
You can also supply your own \fI\%format string\fP, e.g. {now:%Y\-%m\-%d_%H:%M:%S}
diff --git a/docs/usage/help.rst.inc b/docs/usage/help.rst.inc
index 2d5455564..3201dab4f 100644
--- a/docs/usage/help.rst.inc
+++ b/docs/usage/help.rst.inc
@@ -169,6 +169,9 @@ placeholders:
{fqdn}
The full name of the machine.
+{reverse-fqdn}
+ The full name of the machine in reverse domain name notation.
+
{now}
The current local date and time, by default in ISO-8601 format.
You can also supply your own `format string <https://docs.python.org/3.5/library/datetime.html#strftime-and-strptime-behavior>`_, e.g. {now:%Y-%m-%d_%H:%M:%S}