summaryrefslogtreecommitdiff
path: root/config.cc
diff options
context:
space:
mode:
Diffstat (limited to 'config.cc')
-rw-r--r--config.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/config.cc b/config.cc
index 81c9dbd3..34802929 100644
--- a/config.cc
+++ b/config.cc
@@ -57,6 +57,7 @@ Basic options:\n\
-h, --help display this help text\n\
-v, --version show version information\n\
-i, --init FILE initialize ledger by loading FILE (def: ~/.ledgerrc)\n\
+ --cache FILE use FILE as a binary cache when --file is not used\n\
-f, --file FILE read ledger data from FILE\n\
-o, --output FILE write output to FILE\n\
-p, --set-price CONV specify a commodity conversion: \"COMM=AMOUNT\"\n\
@@ -77,7 +78,7 @@ Output customization:\n\
-s, --subtotal balance: show sub-accounts; register: show subtotals\n\
-S, --sort EXPR sort report according to the value expression EXPR\n\
-z, --interval STR report by interval, based on interval expression STR\n\
- -w, --dow show a days-of-the-week report\n\
+ --dow show a days-of-the-week report\n\
-W, --weekly show weekly sub-totals\n\
-M, --monthly show monthly sub-totals\n\
-Y, --yearly show yearly sub-totals\n\
@@ -240,7 +241,7 @@ OPT_BEGIN(weekly, "W") {
config->interval_text = "weekly";
} OPT_END(weekly);
-OPT_BEGIN(dow, "w") {
+OPT_BEGIN(dow, "") {
config->days_of_the_week = true;
} OPT_END(dow);