commit | a9f7edb3b4f2a7f0bba203ce7f05acd63df4d80d | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Dec 15 10:42:01 2012 +0000 |
committer | Simon Glass <sjg@chromium.org> | Thu Apr 04 14:04:32 2013 -0700 |
tree | f6f5bd098c6658aafda60b0072f485757d3ab727 | |
parent | 7e82be7c2b59d45fdfde31309fe875abf4e4bba3 [diff] |
patman: Use ANSI colours only when outputting to a terminal It is easy to detect whether or not the process is connected to a terminal, or piped to a file. Disable ANSI colours automatically when output is not to a terminal. Signed-off-by: Simon Glass <sjg@chromium.org>