From 9093abdff74445afd2650efa3e76434b4ffdf403 Mon Sep 17 00:00:00 2001 From: Laurent Monin Date: Mon, 24 Feb 2020 10:07:53 +0100 Subject: [PATCH] fix-header.py: output progress message (to stderr) --- scripts/tools/fix-header.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/tools/fix-header.py b/scripts/tools/fix-header.py index 88a8273e8..2e82513fc 100755 --- a/scripts/tools/fix-header.py +++ b/scripts/tools/fix-header.py @@ -282,10 +282,12 @@ def main(): print("Skipping %s (%s)" % (path, info), file=sys.stderr) continue if args.in_place: + print("Parsing and fixing %s (in place)" % path, file=sys.stderr) with open(path, 'w') as f: print(new_content, file=f) else: # by default, we just output to stdout + print("Parsing and fixing %s (stdout)" % path, file=sys.stderr) print(new_content)