Martin L Roth has submitted this change. ( https://review.coreboot.org/c/coreboot/+/67192 )
Change subject: util/lint/lint: Reformat usage ......................................................................
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 --- M util/lint/lint 1 file changed, 23 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Elyes Haouas: Looks good to me, approved
diff --git a/util/lint/lint b/util/lint/lint index 3c1e599..c9561a4 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