Skip to content
Browse files

-g can't be used in filter mode, either

  • Loading branch information...
1 parent cf1c39a commit 19415fad4280956660aa69a2aea47c0b2f7cc015 petdance committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 ack
  2. +1 −1 ack-standalone
View
2 ack
@@ -71,7 +71,7 @@ sub main {
else {
if ( $opt{is_filter} ) {
# We're going into filter mode
- for ( qw( f l ) ) {
+ for ( qw( f g l ) ) {
$opt{$_} and App::Ack::die( "Can't use -$_ when acting as a filter." );
}
$opt{show_filename} = 0;
View
2 ack-standalone
@@ -69,7 +69,7 @@ sub main {
else {
if ( $opt{is_filter} ) {
# We're going into filter mode
- for ( qw( f l ) ) {
+ for ( qw( f g l ) ) {
$opt{$_} and App::Ack::die( "Can't use -$_ when acting as a filter." );
}
$opt{show_filename} = 0;

0 comments on commit 19415fa

Please sign in to comment.
Something went wrong with that request. Please try again.