summaryrefslogtreecommitdiff
path: root/config.cc
diff options
context:
space:
mode:
Diffstat (limited to 'config.cc')
-rw-r--r--config.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/config.cc b/config.cc
index ddacbc32..7fec3f4d 100644
--- a/config.cc
+++ b/config.cc
@@ -160,23 +160,23 @@ OPT_BEGIN(set_price, "p:") {
OPT_BEGIN(begin_date, "b:") {
if (! config->predicate.empty())
config->predicate += "&";
- config->predicate += "(d>=[";
+ config->predicate += "d>=[";
config->predicate += optarg;
- config->predicate += "])";
+ config->predicate += "]";
} OPT_END(begin_date);
OPT_BEGIN(end_date, "e:") {
if (! config->predicate.empty())
config->predicate += "&";
- config->predicate += "(d<[";
+ config->predicate += "d<[";
config->predicate += optarg;
- config->predicate += "])";
+ config->predicate += "]";
} OPT_END(end_date);
OPT_BEGIN(current, "c") {
if (! config->predicate.empty())
config->predicate += "&";
- config->predicate += "(d<=N)";
+ config->predicate += "d<=N";
} OPT_END(current);
OPT_BEGIN(cleared, "C") {