diff options
-rw-r--r-- | src/report.cc | 2 | ||||
-rw-r--r-- | src/report.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/report.cc b/src/report.cc index 6b34d2d8..62b54ad1 100644 --- a/src/report.cc +++ b/src/report.cc @@ -446,7 +446,7 @@ option_t<report_t> * report_t::lookup_option(const char * p) OPT_CH(cleared); break; case 'D': - OPT_CH(deviation); + OPT_CH(daily); break; case 'E': OPT_CH(empty); diff --git a/src/report.h b/src/report.h index c44937d4..7b840dea 100644 --- a/src/report.h +++ b/src/report.h @@ -451,7 +451,7 @@ public: parent->HANDLER(limit_).on(string("--current"), "date<=today"); }); - OPTION_(report_t, daily, DO() { + OPTION_(report_t, daily, DO() { // -D parent->HANDLER(period_).on(string("--daily"), "daily"); }); @@ -464,7 +464,7 @@ public: string("depth<=") + args.get<string>(1)); }); - OPTION_(report_t, deviation, DO() { // -D + OPTION_(report_t, deviation, DO() { parent->HANDLER(display_total_) .set_expr(string("--deviation"), "amount_expr-total_expr/count"); }); |