Tools: use correct astype options in run_astyle.py

This commit is contained in:
Andrew Tridgell 2023-05-03 09:56:50 +10:00
parent e01b359462
commit a35bf1c373
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ class AStyleChecker(object):
# for path in self.files_to_check:
# self.progress("Checking (%s)" % path)
astyle_command = ["astyle", "--dry-run"]
astyle_command.append("--options=Tools/CodeStyle/astylerc")
astyle_command.extend(self.files_to_check)
ret = subprocess.run(
astyle_command,