From: Robert Klemme Date: 2005-01-13T07:11:15+09:00 Subject: Re: optparse "Glenn Parker" schrieb im Newsbeitrag news:41E59B7C.5050100@comcast.net... > Charles Mills wrote: >> >> Any idea about the first question? Seems like you can only do "--word >> arg" or "-c arg", not "-word arg". > > I think that's the style you get. A double hypen is always followed by a > long option name. A single hyphen is always followed by a one-letter > option flag. I'm not 100% sure but that might even be POSIX standard. Anyway, IMHO it's a good convention to follow. robert > -- > Glenn Parker | glenn.parker-AT-comcast.net | > >