summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-27 12:37:53 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-27 12:37:53 -0600
commitc1ab9cad30c76449a3b5d463e7aa3b6874b83199 (patch)
tree50257d33220b5c70f4483add890e2bc5541d830b /src
parent3ed09fc85b60e354906f881db1e2bbfa47331273 (diff)
downloadfork-ledger-c1ab9cad30c76449a3b5d463e7aa3b6874b83199.tar.gz
fork-ledger-c1ab9cad30c76449a3b5d463e7aa3b6874b83199.tar.bz2
fork-ledger-c1ab9cad30c76449a3b5d463e7aa3b6874b83199.zip
--explicit wasn't being handled correctly
Diffstat (limited to 'src')
-rw-r--r--src/session.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/session.cc b/src/session.cc
index 797ee3e5..31122daa 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -256,6 +256,9 @@ option_t<session_t> * session_t::lookup_option(const char * p)
OPT(download); // -Q
else OPT(decimal_comma);
break;
+ case 'e':
+ OPT(explicit);
+ break;
case 'f':
OPT_(file_); // -f
break;
@@ -264,7 +267,6 @@ option_t<session_t> * session_t::lookup_option(const char * p)
break;
case 'l':
OPT_ALT(price_exp_, leeway_);
- else OPT(explicit);
break;
case 'm':
OPT(master_account_);