From 67fd38e073b49e7dd7bf6ae50b4fb1a7778daa23 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 17 Feb 2009 06:51:40 -0400 Subject: The option --cost is now an alias for --basis --- src/report.cc | 3 +-- src/report.h | 1 - 2 files changed, 1 insertion(+), 3 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::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::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': diff --git a/src/report.h b/src/report.h index 7c68c678..e85d1d34 100644 --- a/src/report.h +++ b/src/report.h @@ -262,7 +262,6 @@ public: parent->HANDLER(collapse).on(); }); - OPTION(report_t, cost); OPTION(report_t, csv_format_); OPTION(report_t, current); // -c -- cgit v1.2.3