small medium large xlarge

11 Feb 2012, 01:16
Taro Fukunaga (8 posts)

I really liked your brief section on OptionParser and wrote an example. Anyone can see it here:


17 Feb 2012, 13:43
David Copeland (491 posts)

Cool. One suggestion is that you might not want to us @-h@ for hostname, since @-h@ typically is for getting command-line help (@OptionParser@ does this automatically for you if you don’t override @-h@).

17 Feb 2012, 14:15
Taro Fukunaga (8 posts)

Thanks David. Yeah, -h is kind of a weird option. Well, it’s just a sample app so I let it go.

You must be logged in to comment