summaryrefslogtreecommitdiffstats
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-11-08 16:33:15 (GMT)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-11-08 16:33:15 (GMT)
commit4e366f82dee33c2f9a2e781d77144b2cf76d7c51 (patch)
treef94f43282102fa89aa11a595ae03387d9c84d040 /plugins/check_disk.c
parent4bdb362b6126803f86373ebf181925b86d85f0fc (diff)
downloadmonitoring-plugins-4e366f82dee33c2f9a2e781d77144b2cf76d7c51.tar.gz
Fix long options parsing in check_disk, check_dns, check_mrtg and check_mrtgtraf (check_tcp was done in an earlier commit)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2078 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r--plugins/check_disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 7f5c009..2f8afa6 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -477,8 +477,8 @@ process_arguments (int argc, char **argv)
477 {"iwarning", required_argument, 0, 'W'}, 477 {"iwarning", required_argument, 0, 'W'},
478 /* Dang, -C is taken. We might want to reshuffle this. */ 478 /* Dang, -C is taken. We might want to reshuffle this. */
479 {"icritical", required_argument, 0, 'K'}, 479 {"icritical", required_argument, 0, 'K'},
480 {"kilobytes", required_argument, 0, 'k'}, 480 {"kilobytes", no_argument, 0, 'k'},
481 {"megabytes", required_argument, 0, 'm'}, 481 {"megabytes", no_argument, 0, 'm'},
482 {"units", required_argument, 0, 'u'}, 482 {"units", required_argument, 0, 'u'},
483 {"path", required_argument, 0, 'p'}, 483 {"path", required_argument, 0, 'p'},
484 {"partition", required_argument, 0, 'p'}, 484 {"partition", required_argument, 0, 'p'},