diff options
| author | Andrew Donnellan <[email protected]> | 2016-07-05 17:47:37 +1000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-08-18 18:12:07 +0200 |
| commit | 4c73c0882b34d0383ff417e2d66c127f848cfe06 (patch) | |
| tree | 112cecea165537e4112c428647f20f6e4f8c2068 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 694d0d0bb2030d2e36df73e2d23d5770511dbc8d (diff) | |
checkkconfigsymbols.py: add --no-color option, don't print color to non-TTY
Only print the ANSI colour escape codes if stdout is a TTY. Useful if
redirecting output to a file or piping to another script.
Also add a new option, --no-color, if the user wants to disable colour
output for whatever reason.
Signed-off-by: Andrew Donnellan <[email protected]>
Acked-by: Valentin Rothberg <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions