diff options
author | Ross Burton <ross.burton@intel.com> | 2018-01-17 17:11:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-18 12:49:22 +0000 |
commit | 4208f1546c92f069e432d1865269ce539db8cea7 (patch) | |
tree | ccda7028b7a6f37104ee4db8f5f6fdb41d437298 /scripts/lib/devtool/upgrade.py | |
parent | 3905ae20330f204f3c8997e2d5aaf15dcf5a860c (diff) | |
download | openembedded-core-4208f1546c92f069e432d1865269ce539db8cea7.tar.gz openembedded-core-4208f1546c92f069e432d1865269ce539db8cea7.tar.bz2 openembedded-core-4208f1546c92f069e432d1865269ce539db8cea7.zip |
buildhistory-diff: add support for colourising the output
Colour value removes in red and additions in green, making it easier to scan the
output for relevant changes.
This adds a --colour option to specify whether colouring should be on, off, or
detected. The default is detected, and depends on whether stdout is a TTY (same
behaviour as git).
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/upgrade.py')
0 files changed, 0 insertions, 0 deletions