Closed hoelzro closed 7 years ago
I don't think you can. I think that if Getopt sees a single hyphen, it sees everything after as stacked single-character arguments.
We could do funky pre-processing of @ARGV, but maybe that's too much black magic for something this simple.
I can't say how many times I've accidentally typed
-cc
when I meant to type--cc
.-cc
doesn't make sense anyway, so can we have ack treat it specially?