Module: monitoring-plugin-perl Branch: master Commit: 7e95a42817dd33bec6c820b4c29d090c44edc588 Author: Sven Nierlein <s...@nierlein.de> Date: Fri Jun 3 15:38:40 2016 +0200 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugin-perl/commit/?id=7e95a42
fix typo in perl pod (fixes rt #114873) Signed-off-by: Sven Nierlein <s...@nierlein.de> --- lib/Monitoring/Plugin.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Monitoring/Plugin.pm b/lib/Monitoring/Plugin.pm index 9b2e371..7e1c4d0 100644 --- a/lib/Monitoring/Plugin.pm +++ b/lib/Monitoring/Plugin.pm @@ -503,16 +503,16 @@ Again, see L<Monitoring::Plugin::Getopt>. Exit with return code CODE, and a standard nagios message of the form "SHORTNAME CODE - $message". +=item nagios_exit( <CODE>, $message ) + +Alias for plugin_exit(). Deprecated. + =item plugin_die( $message, [<CODE>] ) Same as plugin_exit(), except that CODE is optional, defaulting to UNKNOWN. NOTE: exceptions are not raised by default to calling code. Set C<$_use_die> flag if this functionality is required (see test code). -=item nagios_exit( <CODE>, $message ) - -Alias for plugin_die(). Deprecated. - =item nagios_die( $message, [<CODE>] ) Alias for plugin_die(). Deprecated.