-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GLD does not warn about ambiguous option #17
Comments
Related, we have a script with several successive authors, in a GLD standardized project, that now has two options among many:
(Aside: Given that neither of these is what |
I agree that something should be done. given I am unlikely to fix how anything behaves when the getopt options are changed, though. In reality, I've been daydreaming about writing a replacement that totally bypasses Getopt, just to avoid any configuration being possible. :-) |
On Thu, Jan 28, 2016 at 7:45 PM, Ricardo Signes [email protected] Thanks for feedback. I am unlikely to fix how anything behaves when the getopt options are
[ To be clear, when i say "changed" i meant a later pull-request adding Bill |
Hello
I have a set of options specified with:
But GLD does not warn when command line is used with
-f
option. My program runs as if no option was specified. On the other hand-fi
and-file
options work as expected.Getopt::Long has a different behavior: a warning message is shown to user when an option is ambiguous.
All the best
The text was updated successfully, but these errors were encountered: