summaryrefslogtreecommitdiff
path: root/src/option.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-19 01:32:27 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-19 01:32:27 -0400
commitb9624df86b54504ee9585ddb505bbc2702d928ea (patch)
treedf71ac7cdea6cbff5bfa4d893494e1f0457ee069 /src/option.h
parent7a0597dbe3bb30d4a466b39ae60a47a49a72df73 (diff)
downloadfork-ledger-b9624df86b54504ee9585ddb505bbc2702d928ea.tar.gz
fork-ledger-b9624df86b54504ee9585ddb505bbc2702d928ea.tar.bz2
fork-ledger-b9624df86b54504ee9585ddb505bbc2702d928ea.zip
If an option has been handled, return its value
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.h b/src/option.h
index b201cb72..5abc312f 100644
--- a/src/option.h
+++ b/src/option.h
@@ -165,7 +165,7 @@ public:
}
else if (wants_arg) {
if (handled)
- return string_value(str());
+ return value;
else
return false;
}