Skip to content

Commit

Permalink
Whoops, lost --error-lever for a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
rodjek committed Jul 30, 2012
1 parent ed830de commit 3ef0a4b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/puppet-lint/bin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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:",
Expand Down

0 comments on commit 3ef0a4b

Please sign in to comment.