Skip to content

Commit

Permalink
Update lint.go cmd documentation
Browse files Browse the repository at this point in the history
got tripped up by passing "warning" instead of "warn"
  • Loading branch information
shayn-orca authored and daveshanley committed Aug 16, 2024
1 parent ca4b96e commit b4e7718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lint.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit b4e7718

Please sign in to comment.