Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Whoops, lost --error-lever for a bit

  • Loading branch information...
commit 3ef0a4b7c985a0d1310f2b43892b6b6a0e04583d 1 parent ed830de
@rodjek authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/puppet-lint/bin.rb
View
4 lib/puppet-lint/bin.rb
@@ -33,6 +33,10 @@ def run
PuppetLint.configuration.fail_on_warnings = true
end
+ opts.on("--error-level LEVEL", [:all, :warning, :error], "The level of error to return.", "(warning, error, all)") do |el|
+ PuppetLint.configuration.error_level = el
+ end
+
opts.on("--log-format FORMAT",
"Change the log format.", "Overrides --with-filename.",
"The following placeholders can be used:",
Please sign in to comment.
Something went wrong with that request. Please try again.