I looked at getoptlong and optparse and I don't think any of them allow multiple characters with a single dash (-nodisplay, -nosplash, etc). But I'm no expert so I might have overlooked it.
Before I try to code this myself, I wonder if it is actually possible with optparse or any other existing library to have this many-characters option with single dash. Yes, it won't be POSIX correct, but that's ok for me.
Thanks in advance for your reply.
-andre
···
_________________________________________________________________
Don't get caught with egg on your face. Play Chicktionary!
http://club.live.com/chicktionary.aspx?icid=chick_wlmailtextlink