[Nagiosplug-devel] Extra opts help text

Thomas Guyot-Sionnest dermoth at aei.ca
Thu Apr 22 05:18:28 CEST 2010


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

On 15/04/10 11:24 PM, Thomas Guyot-Sionnest wrote:
> On 15/04/10 04:17 AM, Ton Voon wrote:
>> On 13 Apr 2010, at 22:51, Thomas Guyot-Sionnest wrote:
> 
>>>>  --extra-opts=[<section>[@<config_file>]]
>>>>    Section and/or config_file from which to load extra options (may  
>>>> repeat)
>>>>
>>>> Note a difference in syntax. I'd like to harmonise these and make it  
>>>> more readable.
>>>>
>>>> A colleague says that "additional options" or "extra opts" suggests  
>>>> there are other options not available through the command line. I  
>>>> don't want to change the parameter, but I propose that the text be  
>>>> changed to:
>>>>
>>>>  --extra-opts=[section][@file]
>>>>    Read options from an ini file. See
>>>> http://nagiosplugins.org/extra-opts
>>>>  for usage
>>>>
>>>> For both libraries.
>>>>
>>>> Any objections?
>>> I fully agree. I can do it as I have a few other things to work on in
>>> Nagios-plugins...
>>>
>>> So I will remove the notes text as well, correct?
>> Yes please. I'll do the N::P library and update SF's git repo.
> 
> I was thinking of doing them both but thanks! (I couldn't have released
> N::P without you anyway...)

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.

Shall we split the line, or drop this "limit"?

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

iD8DBQFLz8AD6dZ+Kt5BchYRAgxzAKDe64MvVkmUhC4/06JgJZW3s6NJaACaAor2
nkRAfEdHq6OIRFBnk2vKX2E=
=qAl8
-----END PGP SIGNATURE-----




More information about the Devel mailing list