summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h6
1 files changed, 5 insertions, 1 deletions
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