summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-17 06:51:40 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-17 06:51:40 -0400
commit67fd38e073b49e7dd7bf6ae50b4fb1a7778daa23 (patch)
tree60e57324fd09cd66c3974397746ad4dc46a24adf /src/report.cc
parent8c0bea159c8cfb0938e5682a0225a11314eba8a5 (diff)
downloadledger-67fd38e073b49e7dd7bf6ae50b4fb1a7778daa23.tar.gz
ledger-67fd38e073b49e7dd7bf6ae50b4fb1a7778daa23.tar.bz2
ledger-67fd38e073b49e7dd7bf6ae50b4fb1a7778daa23.zip
The option --cost is now an alias for --basis
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/report.cc b/src/report.cc
index 771e1950..881f0518 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -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':