lib/tap/generator/generators/command/templates/command.erb in bahuvrihi-tap-0.11.2 vs lib/tap/generator/generators/command/templates/command.erb in bahuvrihi-tap-0.12.0
- old
+ new
@@ -9,16 +9,16 @@
#
# handle options
#
-OptionParser.new do |opts|
+ConfigParser.new do |opts|
opts.separator ""
opts.separator "options:"
opts.on("-h", "--help", "Show this message") do
- opts.banner = Tap::Support::Lazydoc.usage(__FILE__)
+ puts Lazydoc.usage(__FILE__)
puts opts
exit
end
end.parse!(ARGV)
@@ -27,6 +27,6 @@
#
# add your script code here
#
puts "Received: #{ARGV.join(', ')}"
-puts app.info
+puts app.info