From fcae0231968a829990778d963a302a21bb3a01f5 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 2 May 2008 01:24:29 -0400 Subject: 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. --- option.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'option.cc') 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") { -- cgit v1.2.3