-
Notifications
You must be signed in to change notification settings - Fork 580
Getopt::Long --no-xxx does not work if spec has aliases #13769
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
Comments
From @jimavThis is a bug report for perl from jim.avera@gmail.com, With the ! modifier of an option specification, the option It looks like there is a bug where --no-xxx does not negate -> No error occurs, and the option is incorrectly set to 1. #!/usr/bin/perl @ARGV = ( '--no-ign', "foo", "bar" ); my $igncase = "preset true"; GetOptions( # This prints igncase=1 debug=0 ARGV=(foo bar) Flags: Site configuration information for perl 5.18.2: Configured by Debian Project at Thu Mar 27 18:28:21 UTC 2014. Summary of my perl5 (revision 5 version 18 subversion 2) configuration: Locally applied patches: @INC for perl 5.18.2: Environment for perl 5.18.2: |
From @jkeenanOn Fri Apr 25 22:27:28 2014, jim.avera@gmail.com wrote:
We should have noticed sooner that, since Getopt-Long is primarily maintained on CPAN, this bug report should have been filed in that distribution's bug tracker. I have filed a report at https://rt.cpan.org/Ticket/Display.html?id=96928 and am closing this ticket. Thank you very much.
|
The RT System itself - Status changed from 'new' to 'open' |
@jkeenan - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#121735 (status was 'rejected')
Searchable as RT121735$
The text was updated successfully, but these errors were encountered: