summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-24 02:44:07 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-24 02:44:07 +0100
commit440124eacc9f7fde993e87968ca9e65ffa309f11 (patch)
treec86839186bee5c4951ad98491d02625e9c276669 /src/session.h
parent72a2eaa38e68b886a567da2afda8f08b1929e3b6 (diff)
downloadfork-ledger-440124eacc9f7fde993e87968ca9e65ffa309f11.tar.gz
fork-ledger-440124eacc9f7fde993e87968ca9e65ffa309f11.tar.bz2
fork-ledger-440124eacc9f7fde993e87968ca9e65ffa309f11.zip
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.
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h6
1 files changed, 3 insertions, 3 deletions
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;
});