From 7c83b407648f1ef919218d8965d4c21378910755 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 Sep 2015 17:06:10 +0200 Subject: 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. --- cli/options.cli | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cli/options.cli') 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." -- cgit v1.1