summaryrefslogtreecommitdiff
path: root/src/global.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-24 18:08:56 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-24 18:08:56 +0100
commit1fad2ec7c135ebe87bb34838f21adaac720dda03 (patch)
treea4114a97cf8b61de35ef56c5c9406a84358df8cb /src/global.cc
parent0663ac0a2a09c9061198298ef84c87820e0a46f3 (diff)
downloadfork-ledger-1fad2ec7c135ebe87bb34838f21adaac720dda03.tar.gz
fork-ledger-1fad2ec7c135ebe87bb34838f21adaac720dda03.tar.bz2
fork-ledger-1fad2ec7c135ebe87bb34838f21adaac720dda03.zip
More refactoring for --download
Diffstat (limited to 'src/global.cc')
-rw-r--r--src/global.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/global.cc b/src/global.cc
index 26ee9ad7..084b92da 100644
--- a/src/global.cc
+++ b/src/global.cc
@@ -417,12 +417,12 @@ void global_scope_t::normalize_report_options(const string& verb)
report_t& rep(report());
// jww (2009-02-09): These globals are a hack, but hard to avoid.
- item_t::use_effective_date = rep.HANDLED(effective);
- rep.session.commodity_pool->keep_base = rep.HANDLED(base);
- rep.session.commodity_pool->download_quotes = rep.session.HANDLED(download);
+ item_t::use_effective_date = rep.HANDLED(effective);
+ rep.session.commodity_pool->keep_base = rep.HANDLED(base);
+ rep.session.commodity_pool->get_quotes = rep.session.HANDLED(download);
if (rep.session.HANDLED(price_exp_))
- rep.session.commodity_pool->download_leeway =
+ rep.session.commodity_pool->quote_leeway =
rep.session.HANDLER(price_exp_).value.as_long();
if (rep.session.HANDLED(price_db_))