summaryrefslogtreecommitdiff
path: root/obnam.1.in
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-09-02 19:15:24 +0100
committerLars Wirzenius <liw@liw.fi>2013-09-02 19:15:24 +0100
commitd5e588e102e124ea760b2265c4026211498c2bf3 (patch)
tree2c3221bdce6162b608bd10939105a5c5b5140d30 /obnam.1.in
parent5d7ec3858eeb592664e633220f37686d1effbd6f (diff)
downloadobnam-d5e588e102e124ea760b2265c4026211498c2bf3.tar.gz
Document line continuation in config files
Diffstat (limited to 'obnam.1.in')
-rw-r--r--obnam.1.in17
1 files changed, 16 insertions, 1 deletions
diff --git a/obnam.1.in b/obnam.1.in
index d276b94c..d03340d9 100644
--- a/obnam.1.in
+++ b/obnam.1.in
@@ -460,7 +460,7 @@ syntax in the files.)
.PP
The only unusual thing about the files is the way options that can be
used many times are expressed.
-All values are put in a single line,
+All values are put in a single logical line,
separated by commas
(and optionally spaces as well).
For example:
@@ -483,6 +483,21 @@ anywhere in the fully qualified pathname,
or files with names ending with a period and
.I mp3
(because the exclusions are regular expressions).
+.PP
+A long logical line can be broken into several physical ones,
+by starting a new line at white space,
+and indenting the continuation lines:
+.sp 1
+.RS
+.nf
+[config]
+exclude = foo,
+ bar,
+ \\.mp3$
+.fi
+.RE
+.sp 1
+The above example adds three exclusion patterns.
.SS "Multiple clients and locking"
.B obnam
supports sharing a repository between multiple clients.