summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-18 16:08:43 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-18 16:08:43 +0100
commit8d97adec7bcba851dcf3e1d659767e7bf8de20ca (patch)
tree1e2a72827158498687ab6636383a321d8c9574ea /src/report.h
parent8dbf458e144dce2b1c6d864fd6a479026ccffaeb (diff)
downloadfork-ledger-8d97adec7bcba851dcf3e1d659767e7bf8de20ca.tar.gz
fork-ledger-8d97adec7bcba851dcf3e1d659767e7bf8de20ca.tar.bz2
fork-ledger-8d97adec7bcba851dcf3e1d659767e7bf8de20ca.zip
Restored --plot-amount-format, --plot-total-format
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/report.h b/src/report.h
index 21ad157d..dc53cee7 100644
--- a/src/report.h
+++ b/src/report.h
@@ -330,11 +330,7 @@ public:
set_expr(args[0].to_string(), args[1].to_string());
});
- OPTION_(report_t, amount_data, DO() { // -j
- parent->HANDLER(format_)
- .on_with(none, parent->HANDLER(plot_amount_format_).value);
- });
-
+ OPTION(report_t, amount_data);
OPTION(report_t, anon);
OPTION_(report_t, average, DO() { // -A
@@ -750,10 +746,7 @@ public:
set_expr(args[0].to_string(), args[1].to_string());
});
- OPTION_(report_t, total_data, DO() { // -J
- parent->HANDLER(format_).on_with(string("--total-data"),
- parent->HANDLER(plot_total_format_).value);
- });
+ OPTION(report_t, total_data);
OPTION_(report_t, truncate_, DO() {
#if 0