Removed the largely useless --performance option
This commit is contained in:
parent
48a8bbc0ee
commit
ecf03b96a7
4 changed files with 2 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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_);
|
||||
|
|
|
|||
|
|
@ -461,7 +461,6 @@ public:
|
|||
});
|
||||
|
||||
OPTION(report_t, percentage); // -%
|
||||
OPTION(report_t, performance); // -g
|
||||
|
||||
OPTION__
|
||||
(report_t, period_, // -p
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue