discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* Re: mdocml, ERROR: argument count wrong: multi-line arguments > 0 (have 0)
@ 2010-08-06 21:05 Alex Kozlov
  0 siblings, 0 replies; 4+ messages in thread
From: Alex Kozlov @ 2010-08-06 21:05 UTC (permalink / raw)
  To: discuss

On Fri, Aug 06, 2010 at 07:43:26PM +0200, Kristaps Dzonsons wrote:
> >> Hi
> >>
> >> I think that Qq, Dq, Sq, Aq, Bq can have 0 arguments:
> >>
> >> Error log:
> >> man/man1/c99.1:
> >> <stdin>:99:5: ERROR: argument count wrong: multi-line arguments > 0 (have 0)
> >> <stdin>:108:5: ERROR: argument count wrong: multi-line arguments > 0 (have 0)
> >> Man source:
> >> man/man1/c99.1:
> >> (http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/c99/c99.1)
> >> 99:5:.Pq Qq
> >> 108:5:.Pq Aq ,
> >> Man:
> >> headers whose names are enclosed in double-quotes ("") will be
> >> brackets (<>), the header will be searched for only in
> >>
> >> Error log:
> >> man/man1/bsdtar.1:
> >> <stdin>:357:2: ERROR: argument count wrong: multi-line arguments > 0 (have 0)
> >> <stdin>:359:2: ERROR: argument count wrong: multi-line arguments > 0 (have 0)
> >> Man source:
> >> man/man1/bsdtar.1:
> >> (http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/tar/bsdtar.1)
> >> 357:2:.Qq
> >> 359:2:.Qq .
> >> Man:
> >> This is equivalent to --uname "" --gname "".  On extract, it
> >>
> >> Error log:
> >> /tmp/man.yg1LX62VGM/usr/share/man/man3/getloadavg.3:
> >> <stdin>:51:16: ERROR: argument count wrong: multi-line arguments > 0 (have 0)
> >> Man source:
> >> man/man3/getloadavg.3:
> >> (http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/gen/getloadavg.3)
> >> 51:16:.Fa loadavg Ns Bq .
> >> Man:
> >> retrieved and assigned to successive elements of loadavg[].  The system
> > 
> > These were fixed in FreeBSD -HEAD a couple of days ago, the cgi web
> > stuff is usually from some older -RELEASE however.
> > 
> > Not sure this helps in any way ...
These errors should not have been corrected, because they are not
errors at all. Can You please revert this?

> You're correct in that these macros should have the lowest warning 
> category.  The ERROR class is used, by convention, only when input might 
> screw formatting but can be processed anyway.  These are more or less 
> harmless.
Yes, this is a rare but legal situation, warning will be the best solution.


--
Adios
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 4+ messages in thread
* mdocml, ERROR: argument count wrong: multi-line arguments > 0 (have 0)
@ 2010-08-06 13:55 Alex Kozlov
  2010-08-06 16:34 ` Ulrich Spörlein
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Kozlov @ 2010-08-06 13:55 UTC (permalink / raw)
  To: discuss, spam

Hi

I think that Qq, Dq, Sq, Aq, Bq can have 0 arguments:

Error log:
man/man1/c99.1:
<stdin>:99:5: ERROR: argument count wrong: multi-line arguments > 0 (have 0)
<stdin>:108:5: ERROR: argument count wrong: multi-line arguments > 0 (have 0)
Man source:
man/man1/c99.1:
(http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/c99/c99.1)
99:5:.Pq Qq
108:5:.Pq Aq ,
Man:
headers whose names are enclosed in double-quotes ("") will be
brackets (<>), the header will be searched for only in

Error log:
man/man1/bsdtar.1:
<stdin>:357:2: ERROR: argument count wrong: multi-line arguments > 0 (have 0)
<stdin>:359:2: ERROR: argument count wrong: multi-line arguments > 0 (have 0)
Man source:
man/man1/bsdtar.1:
(http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/tar/bsdtar.1)
357:2:.Qq
359:2:.Qq .
Man:
This is equivalent to --uname "" --gname "".  On extract, it

Error log:
/tmp/man.yg1LX62VGM/usr/share/man/man3/getloadavg.3:
<stdin>:51:16: ERROR: argument count wrong: multi-line arguments > 0 (have 0)
Man source:
man/man3/getloadavg.3:
(http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/gen/getloadavg.3)
51:16:.Fa loadavg Ns Bq .
Man:
retrieved and assigned to successive elements of loadavg[].  The system


--
Adios

--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-06 21:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-06 21:05 mdocml, ERROR: argument count wrong: multi-line arguments > 0 (have 0) Alex Kozlov
  -- strict thread matches above, loose matches on Subject: below --
2010-08-06 13:55 Alex Kozlov
2010-08-06 16:34 ` Ulrich Spörlein
2010-08-06 17:43   ` Kristaps Dzonsons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).