diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2019-04-17 23:33:03 +0200 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2019-04-19 15:48:50 +0200 |
commit | 82a996b1cc5a4299674260962778fc2ad1f2f75e (patch) | |
tree | 7b316344191a4b65a78354459befc7572bfc2580 /src | |
parent | b66fecb428871a3eb274d9370671f1eaf8c5ccec (diff) |
exigrep: do case sensitive option processing again. Closes 2392
-M (--related) was hidden by -m (--man), because of case insensitive
option matching. (4.90 … 4.92 did case insensitive option processing)
Thanks to Andreas Metzler for reporting this issue.
Diffstat (limited to 'src')
-rw-r--r-- | src/src/exigrep.src | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/src/exigrep.src b/src/src/exigrep.src index 5db01fe08..afd3538b6 100644 --- a/src/src/exigrep.src +++ b/src/src/exigrep.src @@ -5,7 +5,7 @@ use strict; BEGIN { pop @INC if $INC[-1] eq '.' }; use Pod::Usage; -use Getopt::Long; +use Getopt::Long qw(:config no_ignore_case); use File::Basename; # Copyright (c) 2007-2017 University of Cambridge. @@ -354,7 +354,7 @@ Do not use a pager, even if STDOUT is connected to a terminal. =item B<-h>|B<--help> Print a short reference help. For more detailed help try L<exigrep(8)>, -or C<exigrep -m>. +or C<exigrep --man>. =item B<-m>|B<--man> |