From: Charles Mills Date: 2005-01-13T07:31:15+09:00 Subject: Re: optparse Robert Klemme wrote: > "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. > Agreed. I am trying to mimic a few of gcc's command line options and '-include file' is one of them. Looking at gcc's man page, they certainly don't follow the double hyphen convention :( -Charlie