diff options
Diffstat (limited to 'src/session.h')
-rw-r--r-- | src/session.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/session.h b/src/session.h index c1e0243b..58e33f6b 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 { @@ -105,6 +106,7 @@ public: HANDLER(account_).report(out); HANDLER(cache_).report(out); HANDLER(download).report(out); + HANDLER(european).report(out); HANDLER(file_).report(out); HANDLER(input_date_format_).report(out); HANDLER(price_db_).report(out); @@ -124,6 +126,10 @@ public: OPTION(session_t, cache_); OPTION(session_t, download); // -Q + OPTION_(session_t, european, DO() { + commodity_t::european_by_default = true; + }); + OPTION__ (session_t, price_exp_, // -Z CTOR(session_t, price_exp_) { value = 24L * 3600L; } |