If I specify --html in my .ackrc and override it with --nohtml on the command line, it does override my .ackrc, but it also erroneously ignores any unknown file types. It should act as if I had typed ack --nohtml <search_string>, but does not.
This is correct. If you specify any filetypes anywhere, you turn off the ability to find unknown types. That you used --html --nohtml doesn't change that.
If I specify
--html
in my.ackrc
and override it with--nohtml
on the command line, it does override my.ackrc
, but it also erroneously ignores any unknown file types. It should act as if I had typedack --nohtml <search_string>
, but does not.Please note this is similar to, but separate from this feature request.