diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-02-24 18:03:22 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-02-24 18:03:22 +0000 |
commit | b449ec66078249117fed2e891ea4a9b252886594 (patch) | |
tree | 9697d1a82029e45f67b49069e212bf84ca7bba4a /obnam.1.in | |
parent | c8f20b7e2784b46b18e75d8250fa28828b853204 (diff) | |
download | obnam-b449ec66078249117fed2e891ea4a9b252886594.tar.gz |
Add example of string-list value in config files
Diffstat (limited to 'obnam.1.in')
-rw-r--r-- | obnam.1.in | 28 |
1 files changed, 27 insertions, 1 deletions
@@ -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 |