Patch #7640

[Patch] Use dashes, not hyphens in manpage

Added by matthijs over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:2015-05-01
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

In the manpage, plain - characters are used, which are rendered as (non-ASCII) hyphens by groff. This is ok for e.g. "read-only", but for e.g. "--grf" dashes are needed to make copy-pasting work.

I've attached a patch which fixes this. Technically, it seems that inside the .Fl macro, this is not necessary, but it doesn't hurt either (and is good for consistency).

This fixes a lintian warning in Debian: https://lintian.debian.org/tags/hyphen-used-as-minus-sign.html

fix-manpage-dashes.patch Magnifier (3.56 KB) matthijs, 2015-05-01 21:24

Associated revisions

Revision 2292:e60e3b517945
Added by planetmaker over 2 years ago

Fix #7640: Use dashes, not hyphens in manpage (matthijs)

History

#1 Updated by planetmaker over 2 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

Applied in changeset e60e3b517945.

Also available in: Atom PDF