Closed GoogleCodeExporter closed 9 years ago
Humm... I'd say the docs are incorrect as they definitely don't reflect the
implementation. Looking at the Getopt::Long docs for Perl (which turned up 1st
for me for a 'getopt boolean' search), they say this:
The argument specification is optional. If omitted, the option is considered
boolean, a value of 1 will be assigned when the option is used on the command
line.
That reflects the implementation. Just to note, as shell's boolean values are
swapped, a 0 would be returned instead of a 1.
Original comment by kate.w...@forestent.com
on 6 Jan 2013 at 4:54
Fixed in r171. Updated the docs in the shflags code and removed the incorrect
alternate usage info.
Original comment by kate.w...@forestent.com
on 7 Jan 2013 at 10:11
Original issue reported on code.google.com by
diwakerg...@gmail.com
on 6 Mar 2012 at 10:59