From 74dfffa9df361e35a5910f1cf5b1734571bbef91 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 10 Dec 2009 10:50:23 +0200 Subject: Allows additional options to be provided in files (--options-file) Implemented using the new argv_file_scanner scanner implementation. --- cli/options.cli | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'cli/options.cli') diff --git a/cli/options.cli b/cli/options.cli index afd0f98..4cce297 100644 --- a/cli/options.cli +++ b/cli/options.cli @@ -198,4 +198,20 @@ class options that should not be used as identifiers. If provided, the replacement name is used instead. All C++ keywords are already in this list." }; + + // This is a "fake" option in that it is actually handled by + // argv_file_scanner. We have it here to get the documentation. + // + std::string --options-file + { + "", + "Read additional options from with each option appearing on a + separate line optionally followed by space and an option value. Empty + lines and lines starting with \cb{#} 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 + \cb{--options-file} option is specified except that shell escaping and + quoting is not required. Repeat this option to specify more than one + options files." + }; }; -- cgit v1.1