[Nagiosplug-devel] Extra opts help text

Thomas Guyot-Sionnest dermoth at aei.ca
Thu Apr 22 12:50:17 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 22/04/10 04:45 AM, Holger Weiß wrote:
> * 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 ...

So what about changing:

>  --extra-opts=[section][@file]
>     Read options from an ini file. See http://nagiosplugins.org/extra-opts for u

To one of these:

>  --extra-opts=[section][@file]
>     Read additional command options from an ini file. See
>     http://nagiosplugins.org/extra-opts for usage and examples.

>  --extra-opts=[section][@file]
>     Read options from an ini file. See http://nagiosplugins.org/extra-opts
>     for usage and examples.

>  --extra-opts=[section][@file]
>     Read options from an ini file. See http://nagiosplugins.org/extra-opts
>     for usage.

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFL0Cnp6dZ+Kt5BchYRAlOjAKDcTGleeeFZLAjkjj2tBzXQd2tLBACfZBwY
FM95y5CtXSgh3YWOPlPtRSM=
=Js1k
-----END PGP SIGNATURE-----




More information about the Devel mailing list