diff options
Diffstat (limited to 'src/option.cc')
-rw-r--r-- | src/option.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/option.cc b/src/option.cc index f47410e2..883080e2 100644 --- a/src/option.cc +++ b/src/option.cc @@ -99,12 +99,15 @@ namespace { } } -void process_option(const string& whence, const string& name, scope_t& scope, +bool process_option(const string& whence, const string& name, scope_t& scope, const char * arg, const string& varname) { op_bool_tuple opt(find_option(scope, name)); - if (opt.first) + if (opt.first) { process_option(whence, opt.first->as_function(), scope, arg, varname); + return true; + } + return false; } void process_environment(const char ** envp, const string& tag, |