fix hyphens/minus in man pages
My understanding is that -
is supposed to be an hyphen (the unicode \u2010 where supported) and \-
is an hyphen-minus (the ASCII 0x2D we grew up with). Therefore the latter should be used for options (\-\-version
) so that copy/paste works.
Apparently some recent change in groff is making this an issue.
As hinted by @pierreganty in !123 (closed) our *.x
files are all mixed-up in that respect as it did not make any difference for earlier groff versions. I think that also help2man
escapes all -
into \-
because a -
in the output of --help
is more likely to refer to an option, but that isn't always correct if one wants to distinguish these two characters.
Maybe we should simply keep things simple and always use \-
. I think we can live without that unicode hyphen.