[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r218 - branches/1.23.0/checks



Author: jeroen
Date: 2004-04-24 16:48:32 +0200 (Sat, 24 Apr 2004)
New Revision: 218

Modified:
   branches/1.23.0/checks/manpages.desc
Log:
Make the hyphen/minus more verbose, our number one test should have a number
one class description


Modified: branches/1.23.0/checks/manpages.desc
===================================================================
--- branches/1.23.0/checks/manpages.desc	2004-04-23 21:16:54 UTC (rev 217)
+++ branches/1.23.0/checks/manpages.desc	2004-04-24 14:48:32 UTC (rev 218)
@@ -145,10 +145,16 @@
 Tag: hyphen-used-as-minus-sign
 Type: warning
 Info: Manual page seems to contain a hyphen where a minus sign was intended.
- '-' chars are interpreted as hyphens by groff, not as minus signs (which
- you want for options for example). '-' must be escaped ('\-') to be
- interpreted as minus. See groff(7) for details.
+ '-' chars are interpreted as hyphens (U+2010) by groff, not as minus signs
+ (U+002D). Since options to programs use minus signs (U+002D), this means for
+ example in UTF-8 locales that you cannot cut&paste options, nor search for
+ them easily.
  .
+ '-' must be escaped ('\-') to be interpreted as minus. If you really intend a
+ hyphen, write it as '\(hy' to emphasise that fact. See groff(7) and
+ especially groff_char(7) for details, and also the thread starting with
+ http://lists.debian.org/debian-devel/2003/debian-devel-200303/msg01481.html
+ .
  Because this error can occur <em>very</em> often we show only the
  first 10 occurences for each man page and give the number of
  suppressed occurences. If you want to see all warnings, run



Reply to: