summaryrefslogtreecommitdiff
path: root/src/global.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-28 02:13:49 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-28 02:13:54 -0400
commit16dbd019bc1d955f083e8f771d00c6a3f9c553ba (patch)
treebed25ac408315145f819cf115a610717dce9965b /src/global.cc
parenta3a40994d25164b57ed4ae8908e1a9cc7ba3b208 (diff)
downloadfork-ledger-16dbd019bc1d955f083e8f771d00c6a3f9c553ba.tar.gz
fork-ledger-16dbd019bc1d955f083e8f771d00c6a3f9c553ba.tar.bz2
fork-ledger-16dbd019bc1d955f083e8f771d00c6a3f9c553ba.zip
Colorization at the terminal now on by default
Diffstat (limited to 'src/global.cc')
-rw-r--r--src/global.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/global.cc b/src/global.cc
index 2ce73bae..19cab1c8 100644
--- a/src/global.cc
+++ b/src/global.cc
@@ -418,6 +418,9 @@ void global_scope_t::normalize_report_options(const string& verb)
report_t& rep(report());
+ if (! rep.HANDLED(no_color))
+ rep.HANDLER(color).on_only(string("?normalize"));
+
// jww (2009-02-09): These globals are a hack, but hard to avoid.
item_t::use_effective_date = (rep.HANDLED(effective) &&
! rep.HANDLED(actual_dates));