summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-28 01:19:16 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-28 01:19:16 -0400
commit0a6f1a63282d4d8d168861ede881b2978c2045c8 (patch)
tree58abeb927a5d7f1434312513edfd00019ec71e87 /src/report.h
parentaa45d2d38cffe09ed2503e0df07bee373cc0e7de (diff)
downloadledger-0a6f1a63282d4d8d168861ede881b2978c2045c8.tar.gz
ledger-0a6f1a63282d4d8d168861ede881b2978c2045c8.tar.bz2
ledger-0a6f1a63282d4d8d168861ede881b2978c2045c8.zip
-D now means --daily, not --deviation
Because --daily is more commonly desired, and fits the pattern of the other periodic switches: -D --daily -W --weekly -M --monthly -Y --yearly Only --quarterly doesn't have its own short option.
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h4
1 files changed, 2 insertions, 2 deletions
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");
});