summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
authorthdox <thdox@free.fr>2015-02-22 11:44:23 +0100
committerthdox <thdox@free.fr>2016-10-27 22:05:49 +0200
commit0fce4e831e8d553cfc70bab8edef1862efa086f4 (patch)
tree07ad25315765e5bb475a68f1fd40c14c3cec5c48 /src/report.cc
parent310370db041349c94e6984cc283be18f5a25a6ca (diff)
downloadfork-ledger-0fce4e831e8d553cfc70bab8edef1862efa086f4.tar.gz
fork-ledger-0fce4e831e8d553cfc70bab8edef1862efa086f4.tar.bz2
fork-ledger-0fce4e831e8d553cfc70bab8edef1862efa086f4.zip
--force-color does not require anymore --color.
This was reported as Bug #1109
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc
index 78ccac51..b2162034 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -64,6 +64,9 @@ void report_t::normalize_options(const string& verb)
if (HANDLED(color) && ! isatty(STDOUT_FILENO))
HANDLER(color).off();
}
+ else {
+ HANDLER(color).on("?normalize");
+ }
if (! HANDLED(force_pager)) {
if (HANDLED(pager_) && ! isatty(STDOUT_FILENO))
HANDLER(pager_).off();