summaryrefslogtreecommitdiffstats
path: root/util/lint
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2022-08-21 13:45:35 -0600
committerMartin L Roth <gaumless@gmail.com>2022-09-03 23:50:15 +0000
commit8b45c1244ef0ec0bcddbc5be75273043969161a9 (patch)
tree0091ed3b09d8d487253f1c9f3c0fe9016af66c1d /util/lint
parent8ea8d856f39ecc75a7f1c4084f90c525f3c3e69b (diff)
downloadcoreboot-8b45c1244ef0ec0bcddbc5be75273043969161a9.tar.gz
coreboot-8b45c1244ef0ec0bcddbc5be75273043969161a9.tar.bz2
coreboot-8b45c1244ef0ec0bcddbc5be75273043969161a9.zip
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>
Diffstat (limited to 'util/lint')
-rwxr-xr-xutil/lint/lint11
1 files changed, 10 insertions, 1 deletions
diff --git a/util/lint/lint b/util/lint/lint
index 3c1e5994c0e0..c9561a47ca46 100755
--- a/util/lint/lint
+++ b/util/lint/lint
@@ -8,7 +8,16 @@
JUNIT=0
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