From: "bcorrigan78@..." Date: 2006-03-21T03:13:49+09:00 Subject: I need some help with OptionsParser Hey all, I must be doing something wrong here. Im calling the following file this way: ruby script.rb -s 1234 or ruby script.rb -s1111 #Code snip require 'optparse' opts = OptionParser.new opts.on("-s", "--size VAL", Integer) do |val| puts "-s #{val}" puts val end But..no matter what I do, I don't get any values out. I must be doing something wrong?? Thanks! Brian PS: The documentation really isn't too clear on this...