Skip to contentSkip to conversation

scripts: improve quiet checkpatch

PATCH Applied Thomas Monjalon 1 participant 2 messages Dec 13, 2015 – Mar 24, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts: improve quiet checkpatch

The option --no-summary will remove this line in quiet mode:
total: 1 errors, 0 warnings, 7 lines checked

---
 scripts/checkpatches.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/checkpatches.sh +1 -1
index afc611b..36376e6 100755
@@ -58,7 +58,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 ;;
Signature · 1 line
2.5.2