summaryrefslogtreecommitdiffstats
path: root/lib/Nagios/Plugin/Config.pm
AgeCommit message (Collapse)AuthorFilesLines
2012-06-29Fix a bug where default file used is not shownThomas Guyot-Sionnest1-1/+6
When a default file is used but no section is found (ex. below using "bad_section"), the plugin dies with: Invalid section 'bad_section' in config file '' This patch add a function to Nagios::Plugin::Config that returns the last used file, and use it to return a file name when we have none.
2009-01-22Die as UNKNOWN instead of CRITICAL when default file is not foundThomas Guyot-Sionnest1-1/+2
(NB: shall we should die at all?)
2007-11-17Fixed handling of repeated ini argumentsThomas Guyot-Sionnest1-3/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1828 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-21Finished initial --extra-opts support; added Getopt spec-to-help and ↵Gavin Carr1-0/+170
multiline help support. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1643 f882894a-f735-0410-b71e-b25c423dba1c