Added new option: --no-titles

This commit is contained in:
John Wiegley 2010-05-30 02:41:06 -06:00
parent 3215fd71a4
commit f491979d55
2 changed files with 3 additions and 0 deletions

View file

@ -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;

View file

@ -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) {