Proposal: fix for getOpt (missing feature)
lemming at henning-thielemann.de
Tue Jun 26 02:40:22 EDT 2007
On Mon, 25 Jun 2007, Bryan O'Sullivan wrote:
> Neil Mitchell wrote:
> > Doesn't -foo currently mean -f -o -o ? In that case, this will change
> > the behaviour.
> Malcolm's change only affects the situation where "-foo" can
> unambiguously be interpreted as "--foo", because there doesn't exist a
> "-f" short option.
I think the program user should be encouraged to use two dashes for the
'foo' option, in order to allow the programmer to add options -f and -o
later without the risk of breaking existing scripts.
More information about the Libraries