From 3d179f8d356fe1b06b276acf77ce3a85778e39d2 Mon Sep 17 00:00:00 2001
From: Campbell Barton <ideasman42@gmail.com>
Date: Thu, 30 Apr 2020 13:00:15 +1000
Subject: [PATCH] clang_format_paths: correct versioning message

---
 utils_maintenance/clang_format_paths.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils_maintenance/clang_format_paths.py b/utils_maintenance/clang_format_paths.py
index a8f6697..bd8a99f 100755
--- a/utils_maintenance/clang_format_paths.py
+++ b/utils_maintenance/clang_format_paths.py
@@ -173,7 +173,7 @@ def main():
         print("Version of clang-format is too old:", version, "<", VERSION_MIN)
         sys.exit(1)
     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]))
 
     args = argparse_create().parse_args()
-- 
GitLab