mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
7 lines
201 B
Ruby
7 lines
201 B
Ruby
require 'getoptlong'
|
|
|
|
options = GetoptLong.new(
|
|
['--number', '-n', GetoptLong::REQUIRED_ARGUMENT],
|
|
['--verbose', '-v', GetoptLong::OPTIONAL_ARGUMENT],
|
|
['--help', '-h', GetoptLong::NO_ARGUMENT]
|
|
)
|