Getopt::Long supports negatable boolean options by appending an ! to the option specification, so this allows to use this functionality with Monitoring::Plugin::Getopt as well. This actually already kind-of worked, but with not very useful help output and the way one had to access the option value depended on if the option was passed on the command line or not.
Getopt::Long
supports negatable boolean options by appending an!
to the option specification, so this allows to use this functionality withMonitoring::Plugin::Getopt
as well. This actually already kind-of worked, but with not very useful help output and the way one had to access the option value depended on if the option was passed on the command line or not.