Skip to content
Snippets Groups Projects
Commit 3d179f8d authored by Campbell Barton's avatar Campbell Barton
Browse files

clang_format_paths: correct versioning message

parent 8a36c283
No related branches found
No related tags found
No related merge requests found
...@@ -173,7 +173,7 @@ def main(): ...@@ -173,7 +173,7 @@ def main():
print("Version of clang-format is too old:", version, "<", VERSION_MIN) print("Version of clang-format is too old:", version, "<", VERSION_MIN)
sys.exit(1) sys.exit(1)
if version > VERSION_MAX_RECOMMENDED: if version > VERSION_MAX_RECOMMENDED:
print("WARNING: Version of clang-format is too recent:", version, ">=", VERSION_MIN) print("WARNING: Version of clang-format is too recent:", version, ">=", VERSION_MAX_RECOMMENDED)
print("You may want to install clang-format-%d.%d, or use the precompiled libs repository." % (version[0], version[1])) print("You may want to install clang-format-%d.%d, or use the precompiled libs repository." % (version[0], version[1]))
args = argparse_create().parse_args() args = argparse_create().parse_args()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment