Martin Stigge <[email protected]> writes:

> in my package wmweather+ I get the following warning:

> W: wmweather+: manpage-has-errors-from-man 
> usr/share/man/man1/wmweather+.1x.gz 193: warning [p 3, 5.0i]: cannot adjust 
> line

> This is because of linebreak issues with an URL:

> .UR http://weather.noaa.gov/pub/data/observations/metar/stations/
> http://weather.noaa.gov/pub/data/observations/metar/stations/
> .UE

> Line 193 is the one with ".UE". This is not detected by lintians
> internal check since the "http" is in the previous line.

> # ignore wrapping failures if they contain URLs
> next if /:(\d+): warning \[.*\]: (can\'t break|cannot adjust) line/
>       and $manfile[$1 - 1] =~ m,(?:https?|ftp)://.+,i;

> It is probably not easy to fix that check for the more general case, so
> it ok to just add an override for this warning to my package?

It is certainly okay to add an override.  I may try to see if there's some
nice way to fix it.

-- 
Russ Allbery ([email protected])               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to