* Sonia Hamilton <[email protected]> [2011-07-29 11:33:18 +1000]:
> I'm using optparse in a script, it's working. But I want a clean way
> to display the help message (that corresponds to --help) if the user
> enters an incorrect option. Any pointers on the best way to do this?

Duh! Brain fart. I just pulled the opt variable up to a higher scope...

-- 
Sonia Hamilton
http://soniahamilton.wordpress.com
http://www.linkedin.com/in/soniahamilton

Attachment: signature.asc
Description: Digital signature

Reply via email to