Permalink
Browse files

Whoops, lost --error-lever for a bit

  • Loading branch information...
1 parent ed830de commit 3ef0a4b7c985a0d1310f2b43892b6b6a0e04583d @rodjek committed Jul 30, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/puppet-lint/bin.rb
View
@@ -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:",

0 comments on commit 3ef0a4b

Please sign in to comment.