From 440124eacc9f7fde993e87968ca9e65ffa309f11 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 24 Jun 2009 02:44:07 +0100 Subject: Restored --download, although not done yet The problem at this point is that it's recording prices in the price database multiple times; it should only need to download a price for each commodity once per day. --- src/session.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/session.h') diff --git a/src/session.h b/src/session.h index fc6bf4f3..5d6a12b9 100644 --- a/src/session.h +++ b/src/session.h @@ -105,10 +105,10 @@ public: { HANDLER(account_).report(out); HANDLER(download).report(out); - HANDLER(leeway_).report(out); HANDLER(file_).report(out); HANDLER(input_date_format_).report(out); HANDLER(price_db_).report(out); + HANDLER(price_exp_).report(out); HANDLER(strict).report(out); } @@ -124,8 +124,8 @@ public: OPTION(session_t, download); // -Q OPTION__ - (session_t, leeway_, - CTOR(session_t, leeway_) { value = 24L * 3600L; } + (session_t, price_exp_, // -Z + CTOR(session_t, price_exp_) { value = 24L * 3600L; } DO_(args) { value = args[1].to_long() * 60L; }); -- cgit v1.2.3