From 38758d086def7f7381993ffa917f3b416cae8e43 Mon Sep 17 00:00:00 2001 From: Shay Nehmad <136241837+shayn-orca@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:52:15 +0300 Subject: [PATCH] Update lint.go cmd documentation got tripped up by passing "warning" instead of "warn" --- cmd/lint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lint.go b/cmd/lint.go index d9960475..bf4c0594 100644 --- a/cmd/lint.go +++ b/cmd/lint.go @@ -282,7 +282,7 @@ func GetLintCommand() *cobra.Command { cmd.Flags().BoolP("no-banner", "b", false, "Disable the banner / header output") cmd.Flags().BoolP("no-message", "m", false, "Hide the message output when using -d to show details") cmd.Flags().BoolP("all-results", "a", false, "Render out all results, regardless of the number when using -d") - cmd.Flags().StringP("fail-severity", "n", model.SeverityError, "Results of this level or above will trigger a failure exit code") + cmd.Flags().StringP("fail-severity", "n", model.SeverityError, "Results of this level or above will trigger a failure exit code (e.g. 'info', 'warn', 'error')") cmd.Flags().Bool("ignore-array-circle-ref", false, "Ignore circular array references") cmd.Flags().Bool("ignore-polymorph-circle-ref", false, "Ignore circular polymorphic references") cmd.Flags().String("ignore-file", "", "Path to ignore file")