mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
Added verbose flag to format.py (#47)
Making the "Processing" lines only print with a verbose option keeps the output clean.
This commit is contained in:
committed by
Peter Johnson
parent
0d655d7cec
commit
248ca0c4a0
@@ -43,5 +43,7 @@ if sys.platform.startswith("win32"):
|
||||
clangExec += ".exe"
|
||||
|
||||
for name in files:
|
||||
print("Processing", name,)
|
||||
# List names of files as they are processed if verbose flag was given
|
||||
if len(sys.argv) > 1 and sys.argv[1] == "-v":
|
||||
print("Processing", name,)
|
||||
call([clangExec, "-i", "-style=file", name])
|
||||
|
||||
Reference in New Issue
Block a user