util/lint/lint: Reformat usage

Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I684d374bd02a42e178383c26936e137e173f8f7e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67192
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
Martin Roth 2022-08-21 13:45:35 -06:00 committed by Martin L Roth
parent 8ea8d856f3
commit 8b45c1244e
1 changed files with 10 additions and 1 deletions

View File

@ -8,7 +8,16 @@
JUNIT=0 JUNIT=0
usage () { usage () {
printf "Usage: %s <lint|lint-stable|lint-extended> [--junit]\n" "$0" printf "Usage: %s <sub-command> [Options]\n" "$0"
printf " Sub-commands:\n"
printf " lint-stable : Run standard lint tests - should pass\n"
printf " lint-extended : Run extended lint tests - should pass\n"
printf " lint : Run full lint tests - Not expected to pass\n\n"
printf " Options:\n"
printf " -h | --help : Show this help message\n"
printf " -J | --junit : Send test output to a JUnit file\n"
printf "\n"
} }
#write to the junit xml file if --junit was specified #write to the junit xml file if --junit was specified