Subject: | [WISH] Default to -a if target is a single file? |
If I specify a single file as the target of ack, I would prefer that it
automatically treats it as code. Something like this:
if (@ARGV == 1 && -f $ARGV[0]) {
$opt{all} = 1;
}
On the other hand, I suppose I could just try to remember to say "ack -a"...
-- Chris