From f491979d5547742aae70b3f6dd5b4aa0eac36605 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 30 May 2010 02:41:06 -0600 Subject: Added new option: --no-titles --- src/report.cc | 1 + src/report.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'src') 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::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) { -- cgit v1.2.3