mirror of
https://github.com/littlefs-project/littlefs.git
synced 2025-12-01 12:20:02 +00:00
scripts: Re-added -q/--quiet to result scripts
I forgot that this is still useful for erroring scripts, such as stack.py when checking for recursion. Technically this is possible with -o/dev/null, but that's both unnecessarily complicated and includes the csv encoding cost for no reason.
This commit is contained in:
@ -1118,7 +1118,7 @@ def main(ci_paths,
|
||||
depth=depth,
|
||||
**args)
|
||||
# print table
|
||||
else:
|
||||
elif not args.get('quiet'):
|
||||
table(StackResult, results, diff_results,
|
||||
by=by,
|
||||
fields=fields,
|
||||
@ -1147,6 +1147,10 @@ if __name__ == "__main__":
|
||||
'-v', '--verbose',
|
||||
action='store_true',
|
||||
help="Output commands that run behind the scenes.")
|
||||
parser.add_argument(
|
||||
'-q', '--quiet',
|
||||
action='store_true',
|
||||
help="Don't show anything, useful when checking for errors.")
|
||||
parser.add_argument(
|
||||
'-o', '--output',
|
||||
help="Specify CSV file to store results.")
|
||||
|
||||
Reference in New Issue
Block a user