diff options
-rw-r--r-- | doc/ledger.1 | 3 | ||||
-rw-r--r-- | doc/ledger.texi | 4 | ||||
-rw-r--r-- | src/report.cc | 4 | ||||
-rw-r--r-- | src/report.h | 1 |
4 files changed, 2 insertions, 10 deletions
diff --git a/doc/ledger.1 b/doc/ledger.1 index 8e9e42ff..508e22ad 100644 --- a/doc/ledger.1 +++ b/doc/ledger.1 @@ -1,4 +1,4 @@ -.Dd February 23, 2009 +.Dd February 24, 2009 .Dt ledger 1 .Sh NAME .Nm ledger @@ -161,7 +161,6 @@ See \fB\-\-tail\fR. .It Fl \-payee-width Ar INT .It Fl \-pending .It Fl \-percentage Pq Fl \% -.It Fl \-performance Pq Fl g .It Fl \-period Ar PERIOD Pq Fl p .It Fl \-period-sort .It Fl \-plot-amount-format Ar FMT diff --git a/doc/ledger.texi b/doc/ledger.texi index a95a381b..b2ac29dd 100644 --- a/doc/ledger.texi +++ b/doc/ledger.texi @@ -810,10 +810,6 @@ Reports the cost basis for all postings. @item -V, --market Reports the last known market value for all commodities. -@item -g, --performance -Reports the net gain/loss for each posting in a @command{register} -report. - @item -G --gain Reports the net gain/loss for all commodities in the report that have a price history. diff --git a/src/report.cc b/src/report.cc index 316aa89b..dfbbf65b 100644 --- a/src/report.cc +++ b/src/report.cc @@ -447,8 +447,7 @@ option_t<report_t> * report_t::lookup_option(const char * p) else OPT_ALT(head_, first_); break; case 'g': - OPT_CH(performance); - else OPT(gain); + OPT(gain); break; case 'h': OPT(head_); @@ -485,7 +484,6 @@ option_t<report_t> * report_t::lookup_option(const char * p) else OPT(payee_as_account); else OPT(pending); else OPT(percentage); - else OPT(performance); else OPT_(period_); else OPT(period_sort_); else OPT(plot_amount_format_); diff --git a/src/report.h b/src/report.h index 8fd28ff9..84f120df 100644 --- a/src/report.h +++ b/src/report.h @@ -461,7 +461,6 @@ public: }); OPTION(report_t, percentage); // -% - OPTION(report_t, performance); // -g OPTION__ (report_t, period_, // -p |