Fix type in clang-format.sh help text
authorejjordan <e.jjordan12@gmail.com>
Tue, 12 Nov 2019 23:36:07 +0000 (00:36 +0100)
committerejjordan <e.jjordan12@gmail.com>
Tue, 12 Nov 2019 23:36:13 +0000 (00:36 +0100)
The correct git hook does not contain an underscore, as is noted in the documentation
also listed in the help text.

Change-Id: I8d8d4374fd9be39291ce34324710cadfcf0c3040

admin/clang-format.sh

index ae8f61dfbde939d1e6441f8c0f9bdfd3d190ed4e..e4ab728c0ee440dd51dcc0df853680f05024f5ba 100755 (executable)
@@ -98,7 +98,7 @@ then
     if [ -z "$CLANG_FORMAT" ]
     then
         echo "Please set the path to clang-format using the git hook"
-        echo "git config hooks.clang_formatpath /path/to/clang-format"
+        echo "git config hooks.clangformatpath /path/to/clang-format"
         echo "or by setting an environment variable, e.g."
         echo "CLANG_FORMAT=/path/to/clang-format"
         echo "See docs/dev-manual/code-formatting.rst for how to get clang-format."