diff options
author | John Wiegley <johnw@newartisans.com> | 2010-05-30 02:41:06 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-05-30 02:42:36 -0600 |
commit | f491979d5547742aae70b3f6dd5b4aa0eac36605 (patch) | |
tree | 95d4cdbe2fb5d5fe6266fbdcb1461014285f0cb8 /src | |
parent | 3215fd71a499648f5ff8e992bd1ff66e963858a0 (diff) | |
download | fork-ledger-f491979d5547742aae70b3f6dd5b4aa0eac36605.tar.gz fork-ledger-f491979d5547742aae70b3f6dd5b4aa0eac36605.tar.bz2 fork-ledger-f491979d5547742aae70b3f6dd5b4aa0eac36605.zip |
Added new option: --no-titles
Diffstat (limited to 'src')
-rw-r--r-- | src/report.cc | 1 | ||||
-rw-r--r-- | src/report.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc index 486c0fdf..4dee4bb2 100644 --- a/src/report.cc +++ b/src/report.cc @@ -916,6 +916,7 @@ option_t<report_t> * report_t::lookup_option(const char * p) case 'n': OPT_CH(collapse); else OPT(no_color); + else OPT(no_titles); else OPT(no_total); else OPT(now_); break; diff --git a/src/report.h b/src/report.h index aa72832c..104cfc73 100644 --- a/src/report.h +++ b/src/report.h @@ -267,6 +267,7 @@ public: HANDLER(market).report(out); HANDLER(meta_).report(out); HANDLER(monthly).report(out); + HANDLER(no_titles).report(out); HANDLER(no_total).report(out); HANDLER(now_).report(out); HANDLER(only_).report(out); @@ -637,6 +638,7 @@ public: parent->HANDLER(color).off(); }); + OPTION(report_t, no_titles); OPTION(report_t, no_total); OPTION_(report_t, now_, DO_(args) { |