From: Anton Balashov Date: Sun, 26 Jan 2014 08:14:18 +0000 (+0400) Subject: Fix hyphen-used-as-minus-sign in gmqcc.1 X-Git-Tag: xonotic-v0.8.0~14^2^2 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=669a0555947b3aac4bab2b5c94b2ebcec5c08a47 Fix hyphen-used-as-minus-sign in gmqcc.1 I: gmqcc: hyphen-used-as-minus-sign usr/share/man/man1/gmqcc.1.gz:338 N: N: This manual page seems to contain a hyphen where a minus sign was N: intended. By default, "-" chars are interpreted as hyphens (U+2010) by N: groff, not as minus signs (U+002D). Since options to programs use minus N: signs (U+002D), this means for example in UTF-8 locales that you cannot N: cut and paste options, nor search for them easily. The Debian groff N: package currently forces "-" to be interpreted as a minus sign due to N: the number of manual pages with this problem, but this is a N: Debian-specific modification and hopefully eventually can be removed. N: N: "-" must be escaped ("\-") to be interpreted as minus. If you really N: intend a hyphen (normally you don't), write it as "\(hy" to emphasise N: that fact. See groff(7) and especially groff_char(7) for details, and N: also the thread starting with N: http://lists.debian.org/debian-devel/2003/debian-devel-200303/msg01481.html N: N: If you use some tool that converts your documentation to groff format, N: this tag may indicate a bug in the tool. Some tools convert dashes of N: any kind to hyphens. The safe way of converting dashes is to convert N: them to "\-". N: N: Because this error can occur very often, Lintian shows only the first 10 N: occurrences for each man page and give the number of suppressed N: occurrences. If you want to see all warnings, run Lintian with the N: -d/--debug option. N: N: Refer to /usr/share/doc/groff-base/README.Debian and the groff_char(7) N: manual page for details. N: N: Severity: wishlist, Certainty: possible")" --- diff --git a/doc/gmqcc.1 b/doc/gmqcc.1 index 758e08d..557995e 100644 --- a/doc/gmqcc.1 +++ b/doc/gmqcc.1 @@ -335,7 +335,7 @@ ignored for both cases. When compiling original QuakeWorld QC there are instances where code overwrites constants. This is considered an error, however for QuakeWorld to compile it needs to be treated as a warning -instead, as such this warning only works when -std=qcc. +instead, as such this warning only works when \-std=qcc. .It Fl W Ns Cm directive-inmacro Warn about the use of preprocessor directives inside macros. .El