summaryrefslogtreecommitdiff
path: root/config.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-03-14 09:44:19 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:30 -0400
commit30f79b07618872b7326742430e03795da5782860 (patch)
treeb624d19ba157796add0ec5cd5c671342eb89946b /config.cc
parent4a96c8d7d847b26cdbba60cb246fdb4401721b70 (diff)
downloadfork-ledger-30f79b07618872b7326742430e03795da5782860.tar.gz
fork-ledger-30f79b07618872b7326742430e03795da5782860.tar.bz2
fork-ledger-30f79b07618872b7326742430e03795da5782860.zip
*** empty log message ***
Diffstat (limited to 'config.cc')
-rw-r--r--config.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.cc b/config.cc
index 37198879..c33a9429 100644
--- a/config.cc
+++ b/config.cc
@@ -1129,6 +1129,10 @@ OPT_BEGIN(ansi_invert, "") {
//
// Commodity reporting
+OPT_BEGIN(base, ":") {
+ amount_t::keep_base = true;
+} OPT_END(base);
+
OPT_BEGIN(price_db, ":") {
config->price_db = optarg;
} OPT_END(price_db);
@@ -1206,6 +1210,7 @@ option_t config_options[CONFIG_OPTIONS_SIZE] = {
{ "ansi-invert", '\0', false, opt_ansi_invert, false },
{ "average", 'A', false, opt_average, false },
{ "balance-format", '\0', true, opt_balance_format, false },
+ { "base", '\0', false, opt_base, false },
{ "basis", 'B', false, opt_basis, false },
{ "begin", 'b', true, opt_begin, false },
{ "budget", '\0', false, opt_budget, false },