diff --git a/tools/coredumper/sof-coredump-reader.py b/tools/coredumper/sof-coredump-reader.py index f6fc4cea4..ffd30a16c 100755 --- a/tools/coredumper/sof-coredump-reader.py +++ b/tools/coredumper/sof-coredump-reader.py @@ -179,7 +179,7 @@ def parse_params(): },), ( ( '-l', '--columncount', ), { 'type' : int, - 'help' :'set how many colums to group the output in', + 'help' :'set how many colums to group the output in, ignored without -v', 'action':'store', 'nargs' : 1, },), @@ -201,6 +201,9 @@ def parse_params(): if not sys.stdin.isatty(): parsed.stdin = True + if parsed.columncount and not parsed.verbose: + stderr_print("INFO: -l option will be ignored without -v") + return parsed def chunks(l, n):