diff options
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions
diff --git a/lib/Monitoring/Plugin/Getopt.pm b/lib/Monitoring/Plugin/Getopt.pm index ebdd559..63f751c 100644 --- a/lib/Monitoring/Plugin/Getopt.pm +++ b/lib/Monitoring/Plugin/Getopt.pm | |||
@@ -524,8 +524,8 @@ processing for Nagios plugins | |||
524 | $ng->getopts; | 524 | $ng->getopts; |
525 | 525 | ||
526 | # Access arguments using named accessors or or via the generic get() | 526 | # Access arguments using named accessors or or via the generic get() |
527 | print $ng->warning; | 527 | print $ng->opts->warning; |
528 | print $ng->get('critical'); | 528 | print $ng->opts->get('critical'); |
529 | 529 | ||
530 | 530 | ||
531 | 531 | ||