mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02: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]
|
|
)
|