summaryrefslogtreecommitdiff
path: root/cli/context.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-06-02 17:22:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-06-02 17:22:12 +0200
commited60746355044dd39acd82b8f42c4d9886914567 (patch)
treea958825cb9bca8960eafb41c373d91e22ca9e4ed /cli/context.cxx
parent62166bfe7031522bd851eb5d7047a19182e24a45 (diff)
Implement generation of specifier functions (--generate-specifier)
These functions determine whether the option was specified on the command line. New test: specifier.
Diffstat (limited to 'cli/context.cxx')
-rw-r--r--cli/context.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/context.cxx b/cli/context.cxx
index 43dfde2..a740374 100644
--- a/cli/context.cxx
+++ b/cli/context.cxx
@@ -100,6 +100,7 @@ context (ostream& os_,
unit (unit_),
options (ops),
modifier (options.generate_modifier ()),
+ specifier (options.generate_specifier ()),
usage (!options.suppress_usage ()),
inl (data_->inl_),
opt_prefix (options.option_prefix ()),
@@ -121,6 +122,7 @@ context (context& c)
unit (c.unit),
options (c.options),
modifier (c.modifier),
+ specifier (c.specifier),
usage (c.usage),
inl (c.inl),
opt_prefix (c.opt_prefix),