summaryrefslogtreecommitdiffstats
path: root/lib/Monitoring/Plugin/Getopt.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Monitoring/Plugin/Getopt.pm')
-rw-r--r--lib/Monitoring/Plugin/Getopt.pm4
1 files changed, 2 insertions, 2 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