From e13fbc065c7fcfd99ed297aebbeace70bcf43037 Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Sun, 13 Dec 2015 03:32:58 +0100 Subject: [PATCH] scripts: improve quiet checkpatch The option --no-summary will remove this line in quiet mode: total: 1 errors, 0 warnings, 7 lines checked Signed-off-by: Thomas Monjalon --- scripts/checkpatches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checkpatches.sh b/scripts/checkpatches.sh index 9d8541b095..fcb24fd5fb 100755 --- a/scripts/checkpatches.sh +++ b/scripts/checkpatches.sh @@ -59,7 +59,7 @@ quiet=false verbose=false while getopts hqv ARG ; do case $ARG in - q ) quiet=true ;; + q ) quiet=true && options="$options --no-summary" ;; v ) verbose=true ;; h ) print_usage ; exit 0 ;; ? ) print_usage ; exit 1 ;; -- 2.20.1