summaryrefslogtreecommitdiff
path: root/obnam.1.in
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-02-24 18:03:22 +0000
committerLars Wirzenius <liw@liw.fi>2012-02-24 18:03:22 +0000
commitb449ec66078249117fed2e891ea4a9b252886594 (patch)
tree9697d1a82029e45f67b49069e212bf84ca7bba4a /obnam.1.in
parentc8f20b7e2784b46b18e75d8250fa28828b853204 (diff)
downloadobnam-b449ec66078249117fed2e891ea4a9b252886594.tar.gz
Add example of string-list value in config files
Diffstat (limited to 'obnam.1.in')
-rw-r--r--obnam.1.in28
1 files changed, 27 insertions, 1 deletions
diff --git a/obnam.1.in b/obnam.1.in
index 24a20e37..5c393795 100644
--- a/obnam.1.in
+++ b/obnam.1.in
@@ -361,7 +361,7 @@ about it using the
option.
.SS "Configuration files"
.B obnam
-will look for configuration files in a number of location.
+will look for configuration files in a number of locations.
See the FILES section for a list.
All files are treated as if they are were one with the contents of all
files catenated.
@@ -400,6 +400,32 @@ exclude: \.wav$
or
.I foo: value
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,
+separated by commas
+(and optionally spaces as well).
+For example:
+.sp 1
+.RS
+.nf
+[config]
+exclude = foo, bar, \.mp3$
+.fi
+.RE
+.sp 1
+The above has three values for the
+.B exclude
+option:
+any files that contain the words
+.I foo
+or
+.I bar
+anywhere in the fully qualified pathname,
+or files with names ending with a period and
+.I mp3
+(because the exclusions are regular expressions).
.SS "Repository format and upgrades"
Different versions of
.B obnam