From 4e366f82dee33c2f9a2e781d77144b2cf76d7c51 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Sat, 8 Nov 2008 16:33:15 +0000 Subject: 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 --- plugins/check_mrtg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/check_mrtg.c') diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c index 80e52155..62b0cf08 100644 --- a/plugins/check_mrtg.c +++ b/plugins/check_mrtg.c @@ -181,7 +181,7 @@ process_arguments (int argc, char **argv) {"warning", required_argument, 0, 'w'}, {"label", required_argument, 0, 'l'}, {"units", required_argument, 0, 'u'}, - {"verbose", no_argument, 0, 'v'}, + {"variable", required_argument, 0, 'v'}, {"version", no_argument, 0, 'V'}, {"help", no_argument, 0, 'h'}, {0, 0, 0, 0} @@ -334,7 +334,7 @@ print_help (void) printf (" %s\n", "-F, --logfile=FILE"); printf (" %s\n", _("The MRTG log file containing the data you want to monitor")); - printf ("-e, --expires=MINUTES"); + printf (" %s\n", "-e, --expires=MINUTES"); printf (" %s\n", _("Minutes before MRTG data is considered to be too old")); printf (" %s\n", "-a, --aggregation=AVG|MAX"); printf (" %s\n", _("Should we check average or maximum values?")); -- cgit v1.2.3-74-g34f1