summaryrefslogtreecommitdiff
path: root/cliapp.5
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-08-29 19:05:39 +0300
committerLars Wirzenius <liw@liw.fi>2015-08-29 19:05:39 +0300
commit91df6f01243c2e866dec3f4624aa602e40a2c201 (patch)
tree9751377145961cbe53a6b90c300fd9c2e9ee0790 /cliapp.5
parent82b40dd4e99c4bd84ae402e0e7a24707d91f21aa (diff)
downloadcliapp-91df6f01243c2e866dec3f4624aa602e40a2c201.tar.gz
Update manual page wrt string list options
Diffstat (limited to 'cliapp.5')
-rw-r--r--cliapp.515
1 files changed, 12 insertions, 3 deletions
diff --git a/cliapp.5 b/cliapp.5
index bc2fa4d..0170d2a 100644
--- a/cliapp.5
+++ b/cliapp.5
@@ -96,16 +96,25 @@ and multiple patterns are allowed.
On the command line,
that happens by using the option multiple times.
In the configuration file,
-all values are given on one line,
+all values are given on one logical line,
separated by commas.
+.PP
This is a non-standard extension to the INI file syntax.
-There is no way to escape commas.
+.PP
+To include an item that itself contains a comma,
+surround the item with double quotes.
+There is no way to escape double quotes.
.PP
Example:
.IP
.nf
[config]
-pattern = foo, bar, foobar
+pattern = foo, bar, foobar, "hello, world"
+.fi
+.PP
+Note than in versions of cliapp prior to 1.20150829,
+the command line option would also break values with commas.
+This has since been fixed.
.SS "Boolean (true/false or on/off or yes/no) settings"
When a setting can be either on or off,
it's called a Boolean setting.