[Nagiosplug-devel] Extra opts help text

Ton Voon ton.voon at opsera.com
Thu Apr 15 10:17:31 CEST 2010


On 13 Apr 2010, at 22:51, Thomas Guyot-Sionnest wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 13/04/10 01:14 PM, Ton Voon wrote:
>> Hi!
>
> Hi Ton,
>
> Nice to see you!

Sorry, not been around :(

>> I wanted to get some opinions about the --extra-opts help text. In  
>> the
>> C code it reads (with typo):
>>
>> --extra-opts=[section][@file]
>>   Read additionnal options from ini file
>>
>> [further down between notes and example]
>>
>> See: http://nagiosplugins.org/extra-opts for --extra-opts usage and
>> examples
>>
>>
>> However, the Nagios::Plugin library says:
>>
>>  --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.

Ton

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20100415/0fb82c28/attachment.html>


More information about the Devel mailing list