Option --rounding inverted to --no-rounding
This commit is contained in:
parent
e86a4767bc
commit
a41d33fba3
3 changed files with 4 additions and 4 deletions
|
|
@ -87,7 +87,7 @@ post_handler_ptr chain_post_handlers(report_t& report,
|
|||
handler.reset(new changed_value_posts(handler, report,
|
||||
for_accounts_report,
|
||||
report.HANDLED(unrealized),
|
||||
report.HANDLED(rounding)));
|
||||
! report.HANDLED(no_rounding)));
|
||||
|
||||
// calc_posts computes the running total. When this appears will determine,
|
||||
// for example, whether filtered posts are included or excluded from the
|
||||
|
|
|
|||
|
|
@ -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_rounding);
|
||||
else OPT(no_titles);
|
||||
else OPT(no_total);
|
||||
else OPT(now_);
|
||||
|
|
@ -955,7 +956,6 @@ option_t<report_t> * report_t::lookup_option(const char * p)
|
|||
else OPT(revalued);
|
||||
else OPT(revalued_only);
|
||||
else OPT(revalued_total_);
|
||||
else OPT(rounding);
|
||||
break;
|
||||
case 's':
|
||||
OPT(sort_);
|
||||
|
|
|
|||
|
|
@ -267,6 +267,7 @@ public:
|
|||
HANDLER(market).report(out);
|
||||
HANDLER(meta_).report(out);
|
||||
HANDLER(monthly).report(out);
|
||||
HANDLER(no_rounding).report(out);
|
||||
HANDLER(no_titles).report(out);
|
||||
HANDLER(no_total).report(out);
|
||||
HANDLER(now_).report(out);
|
||||
|
|
@ -296,7 +297,6 @@ public:
|
|||
HANDLER(revalued).report(out);
|
||||
HANDLER(revalued_only).report(out);
|
||||
HANDLER(revalued_total_).report(out);
|
||||
HANDLER(rounding).report(out);
|
||||
HANDLER(seed_).report(out);
|
||||
HANDLER(sort_).report(out);
|
||||
HANDLER(sort_all_).report(out);
|
||||
|
|
@ -638,6 +638,7 @@ public:
|
|||
parent->HANDLER(color).off();
|
||||
});
|
||||
|
||||
OPTION(report_t, no_rounding);
|
||||
OPTION(report_t, no_titles);
|
||||
OPTION(report_t, no_total);
|
||||
|
||||
|
|
@ -821,7 +822,6 @@ public:
|
|||
set_expr(args[0].to_string(), args[1].to_string());
|
||||
});
|
||||
|
||||
OPTION(report_t, rounding);
|
||||
OPTION(report_t, seed_);
|
||||
|
||||
OPTION_(report_t, sort_, DO_(args) { // -S
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue