summaryrefslogtreecommitdiff
path: root/cli/options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-12-10 09:47:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-12-10 09:47:29 +0200
commitf8edfd22cb45b554a573d2722900196758e9e958 (patch)
treeb2c800c8793f08be287a67ed72517f9cc2831fda /cli/options.cli
parenteddefea6ea39e64e9eb5adf74a279a230a63cf5b (diff)
Scanner-based parsing with support for element erasing
Also implement argv_file_scanner which provides support for reading command line arguments from the argv array as well as files specified with command line options. New examples: file. New tests: ctor, erase, file.
Diffstat (limited to 'cli/options.cli')
-rw-r--r--cli/options.cli11
1 files changed, 9 insertions, 2 deletions
diff --git a/cli/options.cli b/cli/options.cli
index b9df64f..afd0f98 100644
--- a/cli/options.cli
+++ b/cli/options.cli
@@ -3,8 +3,8 @@
// copyright : Copyright (c) 2009 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
-// NOTE: Make sure you have a working CLI compiler around
-// before modifying this file.
+// NOTE: Make sure you have a working CLI compiler around before
+// modifying this file.
//
include <map>;
@@ -28,6 +28,13 @@ class options
"Generate option value modifiers in addition to accessors."
};
+ bool --generate-file-scanner
+ {
+ "Generate the \c{argv_file_scanner} implementation. This scanner is
+ capable of reading command line arguments from the \c{argv} array as
+ well as files specified with command line options."
+ };
+
bool --suppress-inline
{
"Generate all functions non-inline. By default simple functions are