The option --cost is now an alias for --basis

This commit is contained in:
John Wiegley 2009-02-17 06:51:40 -04:00
parent 8c0bea159c
commit 67fd38e073
2 changed files with 1 additions and 3 deletions

View file

@ -371,7 +371,7 @@ option_t<report_t> * report_t::lookup_option(const char * p)
case 'b':
OPT(balance_format_);
else OPT(base);
else OPT(basis);
else OPT_ALT(basis, cost);
else OPT_(begin_);
else OPT(budget);
else OPT(by_payee);
@ -386,7 +386,6 @@ option_t<report_t> * report_t::lookup_option(const char * p)
else OPT_ALT(comm_as_account, commodity_as_account);
else OPT(collapse);
else OPT(collapse_if_zero);
else OPT(cost);
else OPT_(current);
break;
case 'd':

View file

@ -262,7 +262,6 @@ public:
parent->HANDLER(collapse).on();
});
OPTION(report_t, cost);
OPTION(report_t, csv_format_);
OPTION(report_t, current); // -c