summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-12 01:43:17 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-12 01:43:57 -0500
commitc182b7051b4d1983d85b8cc8064371e149dcdd3b (patch)
treec3e49669d99c96ae7b66c9a50d602416ed5f1318 /src/report.cc
parent95cc364961112a411b16ce410e682b76ca143703 (diff)
downloadledger-c182b7051b4d1983d85b8cc8064371e149dcdd3b.tar.gz
ledger-c182b7051b4d1983d85b8cc8064371e149dcdd3b.tar.bz2
ledger-c182b7051b4d1983d85b8cc8064371e149dcdd3b.zip
Renamed the pricesdb command to pricedb
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/report.cc b/src/report.cc
index 7f8e380d..4578667b 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -698,7 +698,7 @@ option_t<report_t> * report_t::lookup_option(const char * p)
else OPT(plot_total_format_);
else OPT(price);
else OPT(prices_format_);
- else OPT(pricesdb_format_);
+ else OPT(pricedb_format_);
else OPT(print_format_);
else OPT(payee_width_);
else OPT(prepend_format_);
@@ -1011,12 +1011,12 @@ expr_t::ptr_op_t report_t::lookup(const symbol_t::kind_t kind,
(new format_posts(*this, report_format(HANDLER(prices_format_)),
maybe_format(HANDLER(prepend_format_))),
*this, "#prices"));
- else if (is_eq(p, "pricesdb"))
+ else if (is_eq(p, "pricedb"))
return expr_t::op_t::wrap_functor
(reporter<post_t, post_handler_ptr, &report_t::commodities_report>
- (new format_posts(*this, report_format(HANDLER(pricesdb_format_)),
+ (new format_posts(*this, report_format(HANDLER(pricedb_format_)),
maybe_format(HANDLER(prepend_format_))),
- *this, "#pricesdb"));
+ *this, "#pricedb"));
break;
case 'r':