lib/sawarineko/option.rb
# Add command line options printed at tail.
#
# opts - An OptionParser object to add options.
#
# Returns nothing.
Add command line options printed at tail.
opts - An OptionParser object to add options.

Returns nothing.
Add command line options printed at tail . opts - An OptionParser object to add options . Returns nothing .
def add_options_on_tail(opts)
      opts.on_tail('-h', '--help', 'Print this message.') do
        puts opts
        exit 0
      end
      opts.on_tail('-v', '--version', 'Print version.') do
        puts Version::STRING
        exit 0
      end
    end
def add_options_on_tail ( opts ) opts . on_tail ( '-h' , '--help' , 'Print this message.' ) do puts opts exit 0 end opts . on_tail ( '-v' , '--version' , 'Print version.' ) do puts Version :: STRING exit 0 end end
Add command line options printed at tail.
Add command line options printed at tail .
opts