From 2f9ee337cf7e04d41f5fbb7d57973b2a77c2d07b Mon Sep 17 00:00:00 2001 From: Matthias Eble Date: Wed, 13 Feb 2008 19:14:37 +0000 Subject: 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 --- plugins/check_disk.c | 4 ++-- 1 file 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'}, -- cgit v1.2.3-74-g34f1