bin/mandy-local in mandy-0.4.1 vs bin/mandy-local in mandy-0.4.2

- old
+ new

@@ -1,12 +1,10 @@ #!/usr/bin/env ruby require 'optparse' require 'ostruct' require 'cgi' -exec('mandy-local -h') unless ARGV.size >= 3 - options = OpenStruct.new OptionParser.new do |opts| opts.banner = "USAGE: mandy-local my_script.rb local_input_file local_output_folder [options]" @@ -21,9 +19,11 @@ opts.on_tail("-h", "--help", "Show this message") do puts opts exit end end.parse! + +exec('mandy-local -h') unless ARGV.size >= 3 require "fileutils" def absolute_path(path) path =~ /^\// ? path : File.join(Dir.pwd, path) \ No newline at end of file