From 840f2fae3995a3e263801ad07d1285d35ddd9485 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 Jun 2010 19:00:38 +0200 Subject: Update description of the --options-file option --- doc/cli.xhtml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'doc/cli.xhtml') diff --git a/doc/cli.xhtml b/doc/cli.xhtml index d39e8ac..5a136af 100644 --- a/doc/cli.xhtml +++ b/doc/cli.xhtml @@ -96,6 +96,10 @@
--generate-modifier
Generate option value modifiers in addition to accessors.
+
--generate-specifier
+
Generate functions for determining whether the option was specified on the + command line.
+
--generate-file-scanner
Generate the argv_file_scanner implementation. This scanner is capable of reading command line arguments from the argv array @@ -207,12 +211,18 @@
--options-file file
Read additional options from file with each option appearing on a separate line optionally followed by space and an option value. Empty lines - and lines starting with # are ignored. The semantics of - providing options in a file is equivalent to providing the same set of - options in the same order on the command line at the point where the - --options-file option is specified except that shell - escaping and quoting is not required. Repeat this option to specify more - than one options files.
+ and lines starting with # are ignored. Option values can + be enclosed in double quotes ("") to preserve leading + and trailing whitespaces as well as to specify empty values. If the value + itself contains trailing or leading double quote, enclose it with an extra + pair of double quotes, for example ""x"". Non-leading + and non-trailing quotes are interpreted as being part of the option value. + +

The semantics of providing options in a file is equivalent to providing + the same set of options in the same order on the command line at the point + where the --options-file option is specified except that + the shell escaping and quoting is not required. Repeat this option to + specify more than one options files.

DIAGNOSTICS

-- cgit v1.1