diff --git a/styleguide/format.py b/styleguide/format.py index 7639a26b7b..27e0f0b1bf 100755 --- a/styleguide/format.py +++ b/styleguide/format.py @@ -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])