summaryrefslogtreecommitdiff
path: root/src/option.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/option.cc')
-rw-r--r--src/option.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/option.cc b/src/option.cc
index d56eb0ff..607e22bd 100644
--- a/src/option.cc
+++ b/src/option.cc
@@ -85,11 +85,9 @@ namespace {
scoped_ptr<xml::xpath_t::scope_t> args;
if (arg) {
args.reset(new xml::xpath_t::scope_t(scope, xml::xpath_t::scope_t::ARGUMENT));
- args->args.set_string(arg);
+ args->args.push_back(value_t(arg, true));
}
-
- value_t temp;
- opt(temp, args.get());
+ opt(args.get());
#if 0
}
catch (error * err) {