summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-02 02:39:31 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-02 02:39:31 -0500
commit094794c640dafaab37a0b227908d8602d29f7daa (patch)
tree8e439162a8bc0cc60eea27ba1ca647d5683ba8db /src/session.cc
parent0a9cc833adebadc876e3e09f1c344b08b23e59f8 (diff)
downloadfork-ledger-094794c640dafaab37a0b227908d8602d29f7daa.tar.gz
fork-ledger-094794c640dafaab37a0b227908d8602d29f7daa.tar.bz2
fork-ledger-094794c640dafaab37a0b227908d8602d29f7daa.zip
Added a --european flag, to use commas for decimals
Ledger can often figure this out for itself, but this flag just makes it the default behavior. It is meant to be added to one's ~/.ledgerrc file.
Diffstat (limited to 'src/session.cc')
-rw-r--r--src/session.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/session.cc b/src/session.cc
index 3f29716d..33c27165 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -264,6 +264,9 @@ option_t<session_t> * session_t::lookup_option(const char * p)
case 'd':
OPT(download); // -Q
break;
+ case 'e':
+ OPT(european);
+ break;
case 'f':
OPT_(file_); // -f
break;