diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-11-08 16:33:15 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-11-08 16:33:15 +0000 |
commit | 4e366f82dee33c2f9a2e781d77144b2cf76d7c51 (patch) | |
tree | f94f43282102fa89aa11a595ae03387d9c84d040 /plugins/check_mrtg.c | |
parent | 4bdb362b6126803f86373ebf181925b86d85f0fc (diff) | |
download | monitoring-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_mrtg.c')
-rw-r--r-- | plugins/check_mrtg.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
181 | {"warning", required_argument, 0, 'w'}, | 181 | {"warning", required_argument, 0, 'w'}, |
182 | {"label", required_argument, 0, 'l'}, | 182 | {"label", required_argument, 0, 'l'}, |
183 | {"units", required_argument, 0, 'u'}, | 183 | {"units", required_argument, 0, 'u'}, |
184 | {"verbose", no_argument, 0, 'v'}, | 184 | {"variable", required_argument, 0, 'v'}, |
185 | {"version", no_argument, 0, 'V'}, | 185 | {"version", no_argument, 0, 'V'}, |
186 | {"help", no_argument, 0, 'h'}, | 186 | {"help", no_argument, 0, 'h'}, |
187 | {0, 0, 0, 0} | 187 | {0, 0, 0, 0} |
@@ -334,7 +334,7 @@ print_help (void) | |||
334 | 334 | ||
335 | printf (" %s\n", "-F, --logfile=FILE"); | 335 | printf (" %s\n", "-F, --logfile=FILE"); |
336 | printf (" %s\n", _("The MRTG log file containing the data you want to monitor")); | 336 | printf (" %s\n", _("The MRTG log file containing the data you want to monitor")); |
337 | printf ("-e, --expires=MINUTES"); | 337 | printf (" %s\n", "-e, --expires=MINUTES"); |
338 | printf (" %s\n", _("Minutes before MRTG data is considered to be too old")); | 338 | printf (" %s\n", _("Minutes before MRTG data is considered to be too old")); |
339 | printf (" %s\n", "-a, --aggregation=AVG|MAX"); | 339 | printf (" %s\n", "-a, --aggregation=AVG|MAX"); |
340 | printf (" %s\n", _("Should we check average or maximum values?")); | 340 | printf (" %s\n", _("Should we check average or maximum values?")); |