diff options
author | Matthias Eble <psychotrahe@users.sourceforge.net> | 2008-02-13 19:14:37 +0000 |
---|---|---|
committer | Matthias Eble <psychotrahe@users.sourceforge.net> | 2008-02-13 19:14:37 +0000 |
commit | 2f9ee337cf7e04d41f5fbb7d57973b2a77c2d07b (patch) | |
tree | 31b34655396acdcc3b2b94f3e9c1be90ec07216d | |
parent | 4868143e4e47ef68fe667335476d22797aa86853 (diff) | |
download | monitoring-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.c | 4 |
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) | |||
474 | {"iwarning", required_argument, 0, 'W'}, | 474 | {"iwarning", required_argument, 0, 'W'}, |
475 | /* Dang, -C is taken. We might want to reshuffle this. */ | 475 | /* Dang, -C is taken. We might want to reshuffle this. */ |
476 | {"icritical", required_argument, 0, 'K'}, | 476 | {"icritical", required_argument, 0, 'K'}, |
477 | {"local", required_argument, 0, 'l'}, | ||
478 | {"stat-remote-fs", required_argument, 0, 'L'}, | ||
479 | {"kilobytes", required_argument, 0, 'k'}, | 477 | {"kilobytes", required_argument, 0, 'k'}, |
480 | {"megabytes", required_argument, 0, 'm'}, | 478 | {"megabytes", required_argument, 0, 'm'}, |
481 | {"units", required_argument, 0, 'u'}, | 479 | {"units", required_argument, 0, 'u'}, |
@@ -492,6 +490,8 @@ process_arguments (int argc, char **argv) | |||
492 | {"ignore-ereg-partition", required_argument, 0, 'i'}, | 490 | {"ignore-ereg-partition", required_argument, 0, 'i'}, |
493 | {"ignore-eregi-path", required_argument, 0, 'I'}, | 491 | {"ignore-eregi-path", required_argument, 0, 'I'}, |
494 | {"ignore-eregi-partition", required_argument, 0, 'I'}, | 492 | {"ignore-eregi-partition", required_argument, 0, 'I'}, |
493 | {"local", no_argument, 0, 'l'}, | ||
494 | {"stat-remote-fs", no_argument, 0, 'L'}, | ||
495 | {"mountpoint", no_argument, 0, 'M'}, | 495 | {"mountpoint", no_argument, 0, 'M'}, |
496 | {"errors-only", no_argument, 0, 'e'}, | 496 | {"errors-only", no_argument, 0, 'e'}, |
497 | {"exact-match", no_argument, 0, 'E'}, | 497 | {"exact-match", no_argument, 0, 'E'}, |