bin/mizuho in FooBarWidget-mizuho-0.9.0 vs bin/mizuho in FooBarWidget-mizuho-0.9.1

- old
+ new

@@ -30,11 +30,15 @@ puts "Please see '--help' for valid options." exit 1 end begin - Mizuho::Generator.new(ARGV[0], nil, options[:template], - options[:multi_page], options[:icons_dir]).start + if ARGV.empty? + puts parser + else + Mizuho::Generator.new(ARGV[0], nil, options[:template], + options[:multi_page], options[:icons_dir]).start + end rescue Mizuho::GenerationError STDERR.puts "*** ERROR" exit 2 end