Skip to content

Commit

Permalink
Remove duplicated help output from --list-checks
Browse files Browse the repository at this point in the history
  • Loading branch information
rodjek committed Mar 25, 2018
1 parent c23bbe5 commit b6b0d80
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/puppet-lint/bin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,7 @@ def run
end

if PuppetLint.configuration.list_checks
puts "Available Puppet-Lint Checks\n\n"
puts "To run only specific checks, use the `--only-checks` option, with a comma-separated list of arguments specifying which checks to make.\n\n"
puts "To disable any of the checks when running the `puppet-lint` command, add a `--no-<check_name>-check` flag to the command.\n\n"
puts "To disable a check with a control comment in a file, add the line '# lint:ignore:<check_name>' where you'd like to begin ignoring the check."
puts "Add the line '# lint:endignore' where you'd like to re-enable linting for the check in question."
puts "Control comments documentation: http://puppet-lint.com/controlcomments/\n\n"
puts 'List of available checks:'
puts PuppetLint.configuration.checks
puts
return 0
end

Expand Down

0 comments on commit b6b0d80

Please sign in to comment.