[Nagiosplug-devel] Extra opts help text

Holger Weiß holger at CIS.FU-Berlin.DE
Thu Apr 22 10:45:01 CEST 2010


* Ton Voon <ton.voon at opsera.com> [2010-04-22 08:52]:
> On 22 Apr 2010, at 04:18, Thomas Guyot-Sionnest wrote:
> >So I was syncing the c plugins, and noticed your string:
> >
> >>--extra-opts=[section][@file]
> >>  Read options from an ini file. See
> >>http://nagiosplugins.org/extra-opts for usage
> >
> >Exceeds the 80-character limit that we usually enforce on --help
> >output.
>
> From dev guidelines: "Code and output should try to respect the 80x25
> size of a crt (remember when fixing stuff in the server room!)"
> 
> I think the 80 char limit is a bit too conservative in this day and
> age (would you read a plugin help output on a terminal in a server
> room?), so I'd say some higher limit, say, 132 chars. But I guess
> that's just some other arbitrary number too.
> 
> Any opinions?

That's no big deal for me, but I'd prefer sticking with the 80-character
limit as long as breaking longer lines is trivial (or isn't it?).  I
usually have lots of 80-character-XTerms tiled up on my desktop ...

> In any event, I think I'll change the dev guidelines to remove the
> "server room" comment.

That's a good idea :-)

Holger




More information about the Devel mailing list