[Nagiosplug-checkins] SF.net SVN: nagiosplug: [1933] nagiosplug/trunk/plugins/check_disk.c
psychotrahe at users.sourceforge.net
psychotrahe at users.sourceforge.net
Wed Feb 13 20:14:38 CET 2008
Revision: 1933
http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=1933&view=rev
Author: psychotrahe
Date: 2008-02-13 11:14:37 -0800 (Wed, 13 Feb 2008)
Log Message:
-----------
Fix --local argument handling (Jan Wagner #1878971)
Modified Paths:
--------------
nagiosplug/trunk/plugins/check_disk.c
Modified: nagiosplug/trunk/plugins/check_disk.c
===================================================================
--- nagiosplug/trunk/plugins/check_disk.c 2008-02-13 15:10:53 UTC (rev 1932)
+++ nagiosplug/trunk/plugins/check_disk.c 2008-02-13 19:14:37 UTC (rev 1933)
@@ -474,8 +474,6 @@
{"iwarning", required_argument, 0, 'W'},
/* Dang, -C is taken. We might want to reshuffle this. */
{"icritical", required_argument, 0, 'K'},
- {"local", required_argument, 0, 'l'},
- {"stat-remote-fs", required_argument, 0, 'L'},
{"kilobytes", required_argument, 0, 'k'},
{"megabytes", required_argument, 0, 'm'},
{"units", required_argument, 0, 'u'},
@@ -492,6 +490,8 @@
{"ignore-ereg-partition", required_argument, 0, 'i'},
{"ignore-eregi-path", required_argument, 0, 'I'},
{"ignore-eregi-partition", required_argument, 0, 'I'},
+ {"local", no_argument, 0, 'l'},
+ {"stat-remote-fs", no_argument, 0, 'L'},
{"mountpoint", no_argument, 0, 'M'},
{"errors-only", no_argument, 0, 'e'},
{"exact-match", no_argument, 0, 'E'},
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list