From: Adam Penny Date: 2008-10-19T03:49:18+09:00 Subject: Re: Handling invalid options with OptionParser PennyMBP:~ adam$ wopol -l invalid option: -l Usage: wopol [options] -s, --server SERVERNAME -p, --printer PRINTERNAME -w, --wait SECONDS Thought you might like to see the result after implementing your suggestion. :-D Thanks again. -- Posted via http://www.ruby-forum.com/.