Removed unused --totals option

This option was for outputting <total> elements in 2.x's XML output.
This commit is contained in:
John Wiegley 2009-02-22 01:29:34 -04:00
parent ff68783348
commit 348aae7478
3 changed files with 1 additions and 5 deletions

View file

@ -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

View file

@ -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;

View file

@ -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());