Project

General

Profile

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)