commit | bbd01435b9f3f1f60355b95f157170ec52c6353d | [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 | c8142633e169665b246352918df5b76fd243bb71 [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>