[dpdk-dev] scripts: improve quiet checkpatch
Commit Message
The option --no-summary will remove this line in quiet mode:
total: 1 errors, 0 warnings, 7 lines checked
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
scripts/checkpatches.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
2015-12-13 03:37, Thomas Monjalon:
> The option --no-summary will remove this line in quiet mode:
> total: 1 errors, 0 warnings, 7 lines checked
>
> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Applied
@@ -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 ;;