summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Monitoring/Plugin/Getopt.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Monitoring/Plugin/Getopt.pm b/lib/Monitoring/Plugin/Getopt.pm
index 9452058..262e3c8 100644
--- a/lib/Monitoring/Plugin/Getopt.pm
+++ b/lib/Monitoring/Plugin/Getopt.pm
@@ -383,7 +383,7 @@ sub arg
383 my %args; 383 my %args;
384 384
385 # Named args 385 # Named args
386 if ($_[0] =~ m/^(spec|help|required|default)$/ && scalar(@_) % 2 == 0) { 386 if ($_[0] =~ m/^(spec|help|required|default|label)$/ && scalar(@_) % 2 == 0) {
387 %args = validate( @_, { 387 %args = validate( @_, {
388 spec => 1, 388 spec => 1,
389 help => 1, 389 help => 1,