D
Daniel Berger
Hi all,
Ruby 1.8.2
Solaris 9 and Windows XP Pro
If I have this:
# opt_test.rb
require "getoptlong"
opts = GetoptLong.new(
["--test", "-t", GetoptLong::REQUIRED_ARGUMENT]
)
puts "Done"
And then I run this:
or this:
Shouldn't a MissingArgument error be raised in both cases?
Regards,
Dan
Ruby 1.8.2
Solaris 9 and Windows XP Pro
If I have this:
# opt_test.rb
require "getoptlong"
opts = GetoptLong.new(
["--test", "-t", GetoptLong::REQUIRED_ARGUMENT]
)
puts "Done"
And then I run this:
ruby opt_test.rb
or this:
ruby opt_test.rb -t
Shouldn't a MissingArgument error be raised in both cases?
Regards,
Dan