Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: othersrc/external/bsd/getopt2
On Fri, Jul 15, 2011 at 05:30:48AM +0000, Alistair G. Crooks wrote:
...
> Log Message:
> Initial import of getopt2 into othersrc repository.
...
> In addition, the optstring does the usual ':' for an option with an
> argument, and uses ';' to denote an option that optionally takes an
> argument.
Hmmm... optional arguments shouldn't really be allowed - they go against
the standard command line syntax rules.
It isn't actually obvious to me how this is parsed, since the general
recommendation is to have a space between any option and its argument.
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index