scripts: coccicheck: Add chain mode to list of modes
authorSumera Priyadarsini <sylphrenadin@gmail.com>
Wed, 5 Aug 2020 08:57:40 +0000 (14:27 +0530)
committerJulia Lawall <Julia.Lawall@lip6.fr>
Fri, 21 Aug 2020 20:34:49 +0000 (22:34 +0200)
This patch adds chain mode to the list of available modes in coccicheck.

Signed-off-by: Sumera Priyadarsini <sylphrenadin@gmail.com>
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
scripts/coccicheck

index e04d328210ac2bd55c946230f2c8f3a9fc2ba38d..6e37cf36caae716ddc265ec6fa6aeeb46a7e1a3d 100755 (executable)
@@ -99,7 +99,7 @@ fi
 if [ "$MODE" = "" ] ; then
     if [ "$ONLINE" = "0" ] ; then
        echo 'You have not explicitly specified the mode to use. Using default "report" mode.'
-       echo 'Available modes are the following: patch, report, context, org'
+       echo 'Available modes are the following: patch, report, context, org, chain'
        echo 'You can specify the mode with "make coccicheck MODE=<mode>"'
        echo 'Note however that some modes are not implemented by some semantic patches.'
     fi