Joel VanderWerf wrote:

> Paul Lutus wrote:
>> Stefano Crocco wrote:
> ..
>>> The problem is that, as far as I can tell, OptParse will raise an
>>> exception when it finds an unknown option (i.e as soon as it hits -c in
>>> my example above). Is there a way around this behavior? Or does anybody
>>> know of a better way to approach the whole problem?
>> 
>> Sure. Parse the command line yourself.
> 
> I don't recommend it unless your syntax is simple or you like writing
> command line parsers.

My point is that a software solution shouldn't be any more complex than
circumstances warrant. The OP might otherwise believe he needs to employ a
package whose function he doesn't understand, to solve a problem he doesn't
have.

-- 
Paul Lutus
http://www.arachnoid.com