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