summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-21 18:37:39 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-21 18:37:39 +0100
commitf83a1c887304795871d2ed1a9b78675898cdab9b (patch)
treef4bfecd4291d42bf6cd825735d7d42a429cb7938 /src/report.h
parentfe6055bf165aed4869d4a17daf2bb1a74f60c773 (diff)
downloadfork-ledger-f83a1c887304795871d2ed1a9b78675898cdab9b.tar.gz
fork-ledger-f83a1c887304795871d2ed1a9b78675898cdab9b.tar.bz2
fork-ledger-f83a1c887304795871d2ed1a9b78675898cdab9b.zip
Restored --unround, added baseline test
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/report.h b/src/report.h
index da1a7c5a..45d4f11a 100644
--- a/src/report.h
+++ b/src/report.h
@@ -778,8 +778,10 @@ public:
});
OPTION_(report_t, unround, DO() {
- parent->HANDLER(amount_).set_expr(string("--uncleared"),
- "unrounded(amount)");
+ parent->HANDLER(display_amount_)
+ .set_expr(string("--unround"), "unrounded(amount_expr)");
+ parent->HANDLER(display_total_)
+ .set_expr(string("--unround"), "unrounded(total_expr)");
});
OPTION_(report_t, weekly, DO() { // -W