Added new option: --no-titles
This commit is contained in:
parent
3215fd71a4
commit
f491979d55
2 changed files with 3 additions and 0 deletions
|
|
@ -916,6 +916,7 @@ option_t<report_t> * report_t::lookup_option(const char * p)
|
||||||
case 'n':
|
case 'n':
|
||||||
OPT_CH(collapse);
|
OPT_CH(collapse);
|
||||||
else OPT(no_color);
|
else OPT(no_color);
|
||||||
|
else OPT(no_titles);
|
||||||
else OPT(no_total);
|
else OPT(no_total);
|
||||||
else OPT(now_);
|
else OPT(now_);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -267,6 +267,7 @@ public:
|
||||||
HANDLER(market).report(out);
|
HANDLER(market).report(out);
|
||||||
HANDLER(meta_).report(out);
|
HANDLER(meta_).report(out);
|
||||||
HANDLER(monthly).report(out);
|
HANDLER(monthly).report(out);
|
||||||
|
HANDLER(no_titles).report(out);
|
||||||
HANDLER(no_total).report(out);
|
HANDLER(no_total).report(out);
|
||||||
HANDLER(now_).report(out);
|
HANDLER(now_).report(out);
|
||||||
HANDLER(only_).report(out);
|
HANDLER(only_).report(out);
|
||||||
|
|
@ -637,6 +638,7 @@ public:
|
||||||
parent->HANDLER(color).off();
|
parent->HANDLER(color).off();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
OPTION(report_t, no_titles);
|
||||||
OPTION(report_t, no_total);
|
OPTION(report_t, no_total);
|
||||||
|
|
||||||
OPTION_(report_t, now_, DO_(args) {
|
OPTION_(report_t, now_, DO_(args) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue