diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-09-02 19:15:24 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-09-02 19:15:24 +0100 |
commit | d5e588e102e124ea760b2265c4026211498c2bf3 (patch) | |
tree | 2c3221bdce6162b608bd10939105a5c5b5140d30 | |
parent | 5d7ec3858eeb592664e633220f37686d1effbd6f (diff) | |
download | obnam-d5e588e102e124ea760b2265c4026211498c2bf3.tar.gz |
Document line continuation in config files
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | obnam.1.in | 17 |
2 files changed, 19 insertions, 1 deletions
@@ -36,6 +36,9 @@ Bug fixes: a file and the directory it should go into not existing. Patch by Armin Größlinger. +* Obnam's manual page now explains about breaking long logical lines + into multiple physical ones. + Version 1.5, released 2013-08-08 -------------------------------- @@ -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. |