lib/texture_packer/cli/options.rb in texture_packer-1.5.0 vs lib/texture_packer/cli/options.rb in texture_packer-1.6.1

- old
+ new

@@ -10,14 +10,14 @@ OptionParser.new do |opts| opts.on('-v', '--version', 'show the version number') do @hook_run = ->{ puts(TexturePacker::VERSION) } end - opts.on("-h", "--help", "Prints this help") do + opts.on('-h', '--help', 'Prints this help') do @hook_run = ->{ puts(opts) } end - opts.on("-pPATH", "--project_dir=PATH", "Copy the generated scss files / images to specified project") do |val| + opts.on('-pPATH', '--project_dir=PATH', 'Copy the generated scss files / images to specified project') do |val| @project_dir = val end end.parse!(argv) end end