Reverted changes to option.cc in commit 2bdafd71, since I do not want to
change the exclusive (as opposed to inclusive) behavior of -e DATE.
This commit is contained in:
parent
4eaad4f332
commit
45f6aa3f93
1 changed files with 3 additions and 3 deletions
|
|
@ -484,17 +484,17 @@ OPT_BEGIN(begin, "b:") {
|
|||
OPT_BEGIN(end, "e:") {
|
||||
char buf[128];
|
||||
interval_t interval(optarg);
|
||||
if (! interval.end)
|
||||
if (! interval.begin)
|
||||
throw new error(std::string("Could not determine end of period '") +
|
||||
optarg + "'");
|
||||
|
||||
if (! report->predicate.empty())
|
||||
report->predicate += "&";
|
||||
report->predicate += "d<[";
|
||||
report->predicate += interval.end.to_string();
|
||||
report->predicate += interval.begin.to_string();
|
||||
report->predicate += "]";
|
||||
|
||||
terminus = interval.end;
|
||||
terminus = interval.begin;
|
||||
} OPT_END(end);
|
||||
|
||||
OPT_BEGIN(current, "c") {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue