Wire up the --european option
This commit is contained in:
parent
a8db7bd303
commit
1d1b9465e4
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue