[Nagiosplug-devel] devolper guidelines
Christoph Maser
cmr at financial.com
Tue May 16 05:53:29 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> Better error messages that get propagated back to Nagios is a good aim.
> Your suggestion makes sense as a -? (intentional) is quite different
> from an unintentional bad option. My only change would be that the 1st
> line on STDOUT be a "bad option specified" message, with the rest of
> STDOUT being the (optional) usage statement. I don't see a need to
> separate STDOUT and STDERR output.
>
I do. Once Nagios will support multiline-output. If you decide to print usage on usage
errors it will clutter the frontend (wichever that will be) with information it was not
asked for and makes it harder to see this one single important line.
Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEacqKsLjW0HYht7URApdXAKCsZ9cxK0pesnvQ02gkAsUNCMMGUACfXcRv
IhBR8D9LMZeMBDPcBqphI1o=
=e8LM
-----END PGP SIGNATURE-----
More information about the Devel
mailing list