Method: Megam::App#parse_options

Defined in:
lib/megam/app.rb

#parse_options(args) ⇒ Object



109
110
111
112
113
114
115
# File 'lib/megam/app.rb', line 109

def parse_options(args)
super
  rescue OptionParser::InvalidOption => e
puts "Error: " + e.to_s
puts self.opt_parser
exit(1)
end