⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (194 Bytes)
Bug #14629
ยป testarg.rb
xz0r (xz0r xz0r), 03/24/2018 03:32 PM
require
'optparse'
options
=
{}
OptionParser
.
new
do
|
opts
|
opts
.
banner
=
"Usage: example.rb [options]"
opts
.
on
(
"--fail-if-changed"
)
do
p
"fail if change arg provided"
end
end
.
parse!
(1-1/1)
Loading...