aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Matthias Eble <psychotrahe@users.sourceforge.net> 2008-02-13 19:14:37 +0000
committerGravatar Matthias Eble <psychotrahe@users.sourceforge.net> 2008-02-13 19:14:37 +0000
commit2f9ee337cf7e04d41f5fbb7d57973b2a77c2d07b (patch)
tree31b34655396acdcc3b2b94f3e9c1be90ec07216d
parent4868143e4e47ef68fe667335476d22797aa86853 (diff)
downloadmonitoring-plugins-2f9ee337cf7e04d41f5fbb7d57973b2a77c2d07b.tar.gz
Fix --local argument handling (Jan Wagner #1878971)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1933 f882894a-f735-0410-b71e-b25c423dba1c
-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 a281d85f..44c154fc 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -474,8 +474,6 @@ process_arguments (int argc, char **argv)
{"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 @@ process_arguments (int argc, char **argv)
{"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'},