From 348aae747806d74302e85255e896c407adad3ca4 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 22 Feb 2009 01:29:34 -0400 Subject: [PATCH] Removed unused --totals option This option was for outputting elements in 2.x's XML output. --- doc/ledger.1 | 3 +-- src/report.cc | 1 - src/report.h | 2 -- 3 files changed, 1 insertion(+), 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::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());