lib/puppet-check/cli.rb in puppet-check-1.5.0 vs lib/puppet-check/cli.rb in puppet-check-1.5.1
- old
+ new
@@ -7,11 +7,11 @@
def self.run(args)
# gather the user arguments
parse(args)
raise 'puppet-check: no paths specified; try using --help' if args.empty?
- # run PuppetCheck
+ # run PuppetCheck with specified paths
PuppetCheck.new.run(args)
end
# parse the user arguments
def self.parse(args)
@@ -22,10 +22,10 @@
# usage
opts.banner = 'usage: puppet-check [options] paths'
# base options
opts.on('--version', 'Display the current version.') do
- puts 'puppet-check 1.5.0'
+ puts 'puppet-check 1.5.1'
exit 0
end
# bool options
opts.on('-f', '--future', 'Enable future parser') { PuppetCheck.settings[:future_parser] = true }