Added a new --columns= option
This commit is contained in:
parent
39bdbbe053
commit
5b897a12fc
2 changed files with 3 additions and 0 deletions
|
|
@ -339,6 +339,7 @@ option_t<report_t> * report_t::lookup_option(const char * p)
|
|||
else OPT_ALT(comm_as_account, commodity_as_account);
|
||||
else OPT(collapse);
|
||||
else OPT(collapse_if_zero);
|
||||
else OPT(columns_);
|
||||
else OPT_(current);
|
||||
break;
|
||||
case 'd':
|
||||
|
|
|
|||
|
|
@ -269,6 +269,8 @@ public:
|
|||
parent->HANDLER(collapse).on_only();
|
||||
});
|
||||
|
||||
OPTION(report_t, columns_);
|
||||
|
||||
OPTION__(report_t, csv_format_, CTOR(report_t, csv_format_) {
|
||||
on(
|
||||
"%(quoted(date)),"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue