Bug#729593: Done: possibly incorrect lintian check hyphen-used-as-minus-sign
I think the Lintian check isn't strictly correct, but is probably close to
as good as we can do without a bunch of false positives. The underlying
rule of thumb is that literal hyphens, such as for flags, need to be \-,
but the hyphen in the middle of a word, like "co-worker" should be left
as-is. It's really difficult to figure that out with a regex, though, so
Lintian uses a space before the hyphen as a proxy for guessing that it's
probably part of a flag.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: