diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-21 02:20:08 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-21 02:20:08 -0400 |
commit | f4e13f34580d1b71736f3ea6451d24237ef6fe2c (patch) | |
tree | 86f9fbec53b53de19f73d07320217cda9b617c8d /src/report.cc | |
parent | 13812346b6ca97ae2f505f08d898e98db907ede6 (diff) | |
download | ledger-f4e13f34580d1b71736f3ea6451d24237ef6fe2c.tar.gz ledger-f4e13f34580d1b71736f3ea6451d24237ef6fe2c.tar.bz2 ledger-f4e13f34580d1b71736f3ea6451d24237ef6fe2c.zip |
Added --start-of-week option, used with --weekly
For example, --start-of-week=monday can be used to report weeks that
begin on Mondays.
Diffstat (limited to 'src/report.cc')
-rw-r--r-- | src/report.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc index db70817c..4c6a9c44 100644 --- a/src/report.cc +++ b/src/report.cc @@ -447,6 +447,7 @@ option_t<report_t> * report_t::lookup_option(const char * p) else OPT(sort_all_); else OPT(sort_entries_); else OPT_(subtotal); + else OPT(start_of_week_); break; case 't': OPT_CH(amount_); |