Command line options -l and -1 don't work together #133

Closed
petdance opened this Issue Jul 12, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Collaborator

petdance commented Jul 12, 2012

(This is carried over from a bug reported by @spaceships in ack1 queue: petdance/ack#229)

Expected only the first file with a match (from -1), got all.

< bcarmer@trouble ~ > ack -l1 'hello' ~/perl5
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/Porting/checkAUTHORS.pl
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perlinterp.pod
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perlfilter.pod
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perl5005delta.pod
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perldtrace.pod
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perlfunc.pod
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perlport.pod
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perldiag.pod
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perltoc.pod
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perltrap.pod
/home/bcarmer/perl5/perlbrew/build/perl-5.17.1/pod/perltie.pod

....etc

Collaborator

hoelzro commented Jul 29, 2012

Fixed!

@hoelzro hoelzro closed this Jul 29, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment