diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-11-04 17:41:53 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-11-04 17:41:53 (GMT) |
commit | 51ec51a8dcbe003a0fe5cd0ad1d78f5590f5d40f (patch) | |
tree | 8d7b3ba9abc238ff7f303f17d874d8935e52c846 /lib/tests/plugin.ini | |
parent | 47fddad5fd5808cd5540a9c8c1a72d8a66348546 (diff) | |
download | monitoring-plugins-51ec51a8dcbe003a0fe5cd0ad1d78f5590f5d40f.tar.gz |
Make extra-opts (C plugins) behave more like N::P:
N::P allows both '#' and ';' for comments. Extra-opts used to allow only '#', it now allows both (';' is the standard for ini files)
Extra-opts does not allow trailing comments anymore (like N::P)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2063 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/tests/plugin.ini')
-rw-r--r-- | lib/tests/plugin.ini | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/tests/plugin.ini b/lib/tests/plugin.ini index e22f8bd..511fd9f 100644 --- a/lib/tests/plugin.ini +++ b/lib/tests/plugin.ini | |||
@@ -1,7 +1,10 @@ | |||
1 | # Non-standard (but accepted) comment | ||
2 | ; standard ini comment | ||
1 | 3 | ||
2 | [check_mysql] | 4 | [check_mysql] |
3 | username=operator | 5 | username=operator |
4 | password=secret # Remember to change later | 6 | ; comment in the middle |
7 | password=secret | ||
5 | 8 | ||
6 | [section_twice] | 9 | [section_twice] |
7 | foo=bar | 10 | foo=bar |