diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-02 17:06:10 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-02 17:06:10 +0200 |
commit | 7c83b407648f1ef919218d8965d4c21378910755 (patch) | |
tree | 52f62723ccf07bb59a45737cb2d0fc89ae691f4f /cli/options.cli | |
parent | 2eb28736a05c7083f2b30b501954a789bbd85f88 (diff) |
Add --generate-parse option
When specified, CLI will generate parse() functions instead of parsing
constructors. This is primarily useful for being able to parse into an
already initialized options class instance, for example, to implement
merging/overriding.
Diffstat (limited to 'cli/options.cli')
-rw-r--r-- | cli/options.cli | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/options.cli b/cli/options.cli index 28a4ee4..7f8e2dc 100644 --- a/cli/options.cli +++ b/cli/options.cli @@ -40,6 +40,13 @@ class options on the command line." }; + bool --generate-parse + { + "Generate \cb{parse()} functions instead of parsing constructors. This + is primarily useful for being able to parse into an already initialized + options class instance, for example, to implement merging/overriding." + }; + bool --generate-description { "Generate the option description list that can be examined at runtime." |