diff options
author | John Wiegley <johnw@newartisans.com> | 2008-05-02 01:24:29 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-05-02 01:24:29 -0400 |
commit | fcae0231968a829990778d963a302a21bb3a01f5 (patch) | |
tree | 4ca426098839d36660004e0e292024e2de2baa1a /option.cc | |
parent | 4d9339a08a8133526696a59484460518e9c19737 (diff) | |
download | fork-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.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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") { |