aboutsummaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorJohn Brooks <john@fastquake.com>2017-07-10 15:52:24 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2017-07-10 16:32:35 -0700
commit737c0767758bbd65cf95c44ccc09bca970e2ef8e (patch)
tree0354f58b628c3d954be0b519e85980fda40078e3 /usr
parentcheckpatch: silence perl 5.26.0 unescaped left brace warnings (diff)
downloadlinux-dev-737c0767758bbd65cf95c44ccc09bca970e2ef8e.tar.xz
linux-dev-737c0767758bbd65cf95c44ccc09bca970e2ef8e.zip
checkpatch: change format of --color argument to --color[=WHEN]
The boolean --color argument did not offer the ability to force colourized output even if stdout is not a terminal. Change the format of the argument to the familiar --color[=WHEN] construct as seen in common Linux utilities such as git, ls and dmesg, which allows the user to specify whether to colourize output "always", "never", or "auto" when the output is a terminal. The default is "auto". The old command-line uses of --color and --no-color are unchanged. Link: http://lkml.kernel.org/r/efe43bdbad400f39ba691ae663044462493b0773.1496799721.git.joe@perches.com Signed-off-by: John Brooks <john@fastquake.com> Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions