[monitoring-plugins] Fix misleading option text
Git Repository
git at monitoring-plugins.org
Thu Jan 23 09:30:07 CET 2014
Module: monitoring-plugins
Branch: master
Commit: 0fbee4deb25c1c69e689c0179de6d6c38c9076c7
Author: Thomas Guyot-Sionnest <dermoth at aei.ca>
Date: Thu Jan 23 03:19:06 2014 -0500
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=0fbee4d
Fix misleading option text
As soon as a device is specified without using -d, anything else on the
command line is ignored.
---
plugins/check_ide_smart.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c
index 4eea72c..59cd8a3 100644
--- a/plugins/check_ide_smart.c
+++ b/plugins/check_ide_smart.c
@@ -597,7 +597,8 @@ print_help (void)
printf (" %s\n", "-d, --device=DEVICE");
printf (" %s\n", _("Select device DEVICE"));
- printf (" %s\n", _("Note: if the device is selected with this option, _no_ other options are accepted"));
+ printf (" %s\n", _("Note: if the device is specified without this option, any further option will"));
+ printf (" %s\n", _("be ignored."));
printf (UT_VERBOSE);
More information about the Commits
mailing list