Skip to content

GetOpt overly ambiguous

If you define flags (e.g.) --foo and --foo-bar, then
run the program with a --foo flag, it will fail because it
is allegedly "ambiguous".  It  shouldn't fail -- it's
an exact
match.

I've got a cheesy patch, if you care.

Will
Trac metadata
Trac field Value
Version 5.04.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedNoReason
Component hslibs/util
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information