summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2015-05-05 13:26:49 -0500
committerJohn Wiegley <johnw@newartisans.com>2015-05-05 13:26:57 -0500
commitc586e1e494487c43cf6da886739f69bb91a7e15b (patch)
tree3daca0ab1b26c3f00c45608ec1914ba549b1f6d6 /src
parent974da27ed4900529b631437f89adcd09c0124151 (diff)
downloadfork-ledger-c586e1e494487c43cf6da886739f69bb91a7e15b.tar.gz
fork-ledger-c586e1e494487c43cf6da886739f69bb91a7e15b.tar.bz2
fork-ledger-c586e1e494487c43cf6da886739f69bb91a7e15b.zip
Add a --no-revalued option
Diffstat (limited to 'src')
-rw-r--r--src/report.cc1
-rw-r--r--src/report.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc
index 2ce70151..ac08c247 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -1198,6 +1198,7 @@ option_t<report_t> * report_t::lookup_option(const char * p)
OPT_CH(collapse);
else OPT(no_color);
else OPT(no_pager);
+ else OPT(no_revalued);
else OPT(no_rounding);
else OPT(no_titles);
else OPT(no_total);
diff --git a/src/report.h b/src/report.h
index c54c8444..10afbe6f 100644
--- a/src/report.h
+++ b/src/report.h
@@ -764,6 +764,10 @@ public:
OTHER(color).off();
});
+ OPTION_(report_t, no_revalued, DO() {
+ OTHER(revalued).off();
+ });
+
OPTION(report_t, no_rounding);
OPTION(report_t, no_titles);
OPTION(report_t, no_total);