summaryrefslogtreecommitdiff
path: root/option.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-05-02 01:24:29 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-05-02 01:24:29 -0400
commitfcae0231968a829990778d963a302a21bb3a01f5 (patch)
tree4ca426098839d36660004e0e292024e2de2baa1a /option.cc
parent4d9339a08a8133526696a59484460518e9c19737 (diff)
downloadfork-ledger-fcae0231968a829990778d963a302a21bb3a01f5.tar.gz
fork-ledger-fcae0231968a829990778d963a302a21bb3a01f5.tar.bz2
fork-ledger-fcae0231968a829990778d963a302a21bb3a01f5.zip
Reverted the master branch back to the state of v2.6.0.90, because I intend to
be much more thorough about what gets commited to the master and why. This will still be the branch where new work will be checked in, but only after thorough review in a development branch.
Diffstat (limited to 'option.cc')
-rw-r--r--option.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/option.cc b/option.cc
index 25ce09f1..ceedd519 100644
--- a/option.cc
+++ b/option.cc
@@ -482,17 +482,17 @@ OPT_BEGIN(begin, "b:") {
OPT_BEGIN(end, "e:") {
char buf[128];
interval_t interval(optarg);
- if (! interval.begin)
+ if (! interval.end)
throw new error(std::string("Could not determine end of period '") +
optarg + "'");
if (! report->predicate.empty())
report->predicate += "&";
report->predicate += "d<[";
- report->predicate += interval.begin.to_string();
+ report->predicate += interval.end.to_string();
report->predicate += "]";
- terminus = interval.begin;
+ terminus = interval.end;
} OPT_END(end);
OPT_BEGIN(current, "c") {