On Sun, Jan 01, 2017 at 07:27:44PM +0100, Ph. Marek wrote:
> In a terminal with
>     # tput cols
>     85
> 
> I looked at the man page of "sloccount". The result was this (left-shifted to
> match the line length limit here):
> 
>   SYNOPSIS
>     sloccount [--version] [--cached] [--append] [ --datadir directory ] 
> [--fol‐
>     low] [--duplicates]  [--crossdups]  [--autogen]  [--multiproject]  
> [--file‐
>     count] [--wide] [--details] [ --effort F E ] [ --schedule F E ] [ 
> --person‐
>     cost cost ] [ --overhead overhead ] [ --addlang language ] [ --addlangall 
> ]
>     [--] directories
> 
> While "--fol-low" is easy to determine as a purely aesthetic dash because of
> the line-wrap, the "--file-count" actually got me; I tried the 3-dashes 
> variant
> and got "Unknown option".
> 
> Please turn this behaviour off, at least in the SYNOPSIS it's not a
> good idea IMO.

Hmm.  I agree that this particular case is unfortunate.  But I don't
really want to turn off hyphenation globally, and there's no reasonable
way to disable it just for a single section.  Individual pages can do
this by putting .nh / .hy requests around the region where they want
hyphenation to be disabled, or you can set MANOPT=--no-hyphenation if
you prefer this behaviour across the board.

I'll leave this bug open as I agree that it's not ideal behaviour, but I
have no immediate ideas for solving it without changes that I'd rather
not make.

-- 
Colin Watson                                       [cjwat...@debian.org]

Reply via email to