checkpatch: colorize output to terminal
authorJoe Perches <joe@perches.com>
Thu, 25 Jun 2015 22:03:03 +0000 (15:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Jun 2015 00:00:41 +0000 (17:00 -0700)
commit57230297116faf5b0a995916d5dd5fedab54cba3
tree081ddaa65c4245c1b902823a20073ce4d29f87bb
parentd8469f16207c626d71749ada88c13db1238df39e
checkpatch: colorize output to terminal

Add optional colors to make seeing message types a bit easier.

Add --color command line switch, default:on

Error is RED, warning is YELLOW, check is GREEN.  The message type, if
shown, is BLUE.

Signed-off-by: Joe Perches <joe@perches.com>
Tested-by: Petr Mladek <pmladek@suse.cz>
Cc: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl