summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Monitoring/Plugin.pm8
1 files 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>.
503Exit with return code CODE, and a standard nagios message of the 503Exit with return code CODE, and a standard nagios message of the
504form "SHORTNAME CODE - $message". 504form "SHORTNAME CODE - $message".
505 505
506=item nagios_exit( <CODE>, $message )
507
508Alias for plugin_exit(). Deprecated.
509
506=item plugin_die( $message, [<CODE>] ) 510=item plugin_die( $message, [<CODE>] )
507 511
508Same as plugin_exit(), except that CODE is optional, defaulting 512Same as plugin_exit(), except that CODE is optional, defaulting
509to UNKNOWN. NOTE: exceptions are not raised by default to calling code. 513to UNKNOWN. NOTE: exceptions are not raised by default to calling code.
510Set C<$_use_die> flag if this functionality is required (see test code). 514Set C<$_use_die> flag if this functionality is required (see test code).
511 515
512=item nagios_exit( <CODE>, $message )
513
514Alias for plugin_die(). Deprecated.
515
516=item nagios_die( $message, [<CODE>] ) 516=item nagios_die( $message, [<CODE>] )
517 517
518Alias for plugin_die(). Deprecated. 518Alias for plugin_die(). Deprecated.