Subject: | Unimplemented but documented command line switches |
The documented command line switches:-
-H, --with-filename Print the filename for each match
-h, --no-filename Suppress the prefixing filename on output
were not implemented in their long form.
Untested patch attached.
Subject: | ack.patch |
--- Ack.pm.orig 2007-10-08 14:52:02.000000000 +0100
+++ Ack.pm 2007-10-08 14:55:59.000000000 +0100
@@ -121,8 +121,8 @@
'g=s' => \$opt{g},
'follow!' => \$opt{follow},
'group!' => \$opt{group},
- h => \$opt{h},
- H => \$opt{H},
+ 'h|no-filename' => \$opt{h},
+ 'H|with-filename' => \$opt{H},
'i|ignore-case' => \$opt{i},
'l|files-with-matches' => \$opt{l},
'L|files-without-match' => \$opt{L},