summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-22 01:29:34 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-22 01:29:34 -0400
commit348aae747806d74302e85255e896c407adad3ca4 (patch)
tree2c08c17251f2b3901ca94e6375ccb94178ed6d73
parentff6878334882c1568e0f9147a428e0e613f7f75b (diff)
downloadledger-348aae747806d74302e85255e896c407adad3ca4.tar.gz
ledger-348aae747806d74302e85255e896c407adad3ca4.tar.bz2
ledger-348aae747806d74302e85255e896c407adad3ca4.zip
Removed unused --totals option
This option was for outputting <total> elements in 2.x's XML output.
-rw-r--r--doc/ledger.13
-rw-r--r--src/report.cc1
-rw-r--r--src/report.h2
3 files changed, 1 insertions, 5 deletions
diff --git a/doc/ledger.1 b/doc/ledger.1
index 652fbe5b..4c43e21f 100644
--- a/doc/ledger.1
+++ b/doc/ledger.1
@@ -1,4 +1,4 @@
-.Dd February 21, 2009
+.Dd February 22, 2009
.Dt ledger 1
.Sh NAME
.Nm ledger
@@ -196,7 +196,6 @@ appeared in the original journal file.
.It Fl \-total Ar EXPR
.It Fl \-total-data Pq Fl J
.It Fl \-total-width Ar INT
-.It Fl \-totals
.It Fl \-trace Ar INT
.It Fl \-truncate
.It Fl \-unbudgeted
diff --git a/src/report.cc b/src/report.cc
index 3178755f..afd8cc11 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -485,7 +485,6 @@ option_t<report_t> * report_t::lookup_option(const char * p)
else OPT(tail_);
else OPT(total_);
else OPT(total_data);
- else OPT(totals);
else OPT(truncate_);
else OPT(total_width_);
break;
diff --git a/src/report.h b/src/report.h
index bc87ac07..6806dc62 100644
--- a/src/report.h
+++ b/src/report.h
@@ -563,8 +563,6 @@ public:
parent->HANDLER(format_).on_with(parent->HANDLER(plot_total_format_).value);
});
- OPTION(report_t, totals);
-
OPTION_(report_t, truncate_, DO() {
#if 0
string style(args[0].to_string());