summaryrefslogtreecommitdiff
path: root/scripts/checkincludes.pl
diff options
context:
space:
mode:
authorJohn Brooks <john@fastquake.com>2017-07-11 01:52:24 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2017-07-11 02:32:35 +0300
commit737c0767758bbd65cf95c44ccc09bca970e2ef8e (patch)
tree0354f58b628c3d954be0b519e85980fda40078e3 /scripts/checkincludes.pl
parent8d81ae05d0176da1c54aeaed697fa34be5c5575e (diff)
downloadlinux-737c0767758bbd65cf95c44ccc09bca970e2ef8e.tar.xz
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 'scripts/checkincludes.pl')
0 files changed, 0 insertions, 0 deletions