From 1d1b9465e40cf122ad30e7aac21ebdba8513f5d9 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 2 Nov 2009 03:44:32 -0500 Subject: Wire up the --european option --- src/session.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/session.h') diff --git a/src/session.h b/src/session.h index 4b8d2380..d8bfa05f 100644 --- a/src/session.h +++ b/src/session.h @@ -50,6 +50,7 @@ #include "account.h" #include "journal.h" #include "option.h" +#include "commodity.h" namespace ledger { @@ -124,7 +125,10 @@ public: OPTION(session_t, account_); // -a OPTION(session_t, cache_); OPTION(session_t, download); // -Q - OPTION(session_t, european); + + OPTION_(session_t, european, DO() { + commodity_t::base_t::european_by_default = true; + }); OPTION__ (session_t, price_exp_, // -Z -- cgit v1.2.3