diff --git a/tools/codeformat.py b/tools/codeformat.py index 7f13a059f4..588e058213 100755 --- a/tools/codeformat.py +++ b/tools/codeformat.py @@ -192,7 +192,7 @@ def main(): command.append("-v") else: command.append("-q") - command.append(".") + command.extend(files if files else ["."]) subprocess.check_call(command, cwd=TOP)