From 8b45c1244ef0ec0bcddbc5be75273043969161a9 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sun, 21 Aug 2022 13:45:35 -0600 Subject: [PATCH] util/lint/lint: Reformat usage Signed-off-by: Martin Roth Change-Id: I684d374bd02a42e178383c26936e137e173f8f7e Reviewed-on: https://review.coreboot.org/c/coreboot/+/67192 Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas --- util/lint/lint | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/util/lint/lint b/util/lint/lint index 3c1e5994c0..c9561a47ca 100755 --- a/util/lint/lint +++ b/util/lint/lint @@ -8,7 +8,16 @@ JUNIT=0 usage () { - printf "Usage: %s [--junit]\n" "$0" + printf "Usage: %s [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