diff options
Diffstat (limited to 'lib/Monitoring')
| -rw-r--r-- | lib/Monitoring/Plugin/Getopt.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Monitoring/Plugin/Getopt.pm b/lib/Monitoring/Plugin/Getopt.pm index b5a9ab4..65c872f 100644 --- a/lib/Monitoring/Plugin/Getopt.pm +++ b/lib/Monitoring/Plugin/Getopt.pm | |||
| @@ -393,7 +393,7 @@ sub arg | |||
| 393 | 393 | ||
| 394 | # Named args | 394 | # Named args |
| 395 | if (exists $params{$_[0]} && scalar @_ % 2 == 0) { | 395 | if (exists $params{$_[0]} && scalar @_ % 2 == 0) { |
| 396 | %args = validate( @_, { %params }); | 396 | %args = validate( @_, \%params ); |
| 397 | } | 397 | } |
| 398 | 398 | ||
| 399 | # Positional args | 399 | # Positional args |
