diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2014-01-23 08:19:06 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2014-01-23 08:19:06 (GMT) |
commit | 0fbee4deb25c1c69e689c0179de6d6c38c9076c7 (patch) | |
tree | f57eb7b9f3fe07f8ad160e4caf76f4b48b4216dd | |
parent | d080c3ad9772c9d5ec64802f377d924ea8cd0a28 (diff) | |
download | monitoring-plugins-0fbee4deb25c1c69e689c0179de6d6c38c9076c7.tar.gz |
Fix misleading option text
As soon as a device is specified without using -d, anything else on the
command line is ignored.
-rw-r--r-- | plugins/check_ide_smart.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) | |||
597 | 597 | ||
598 | printf (" %s\n", "-d, --device=DEVICE"); | 598 | printf (" %s\n", "-d, --device=DEVICE"); |
599 | printf (" %s\n", _("Select device DEVICE")); | 599 | printf (" %s\n", _("Select device DEVICE")); |
600 | printf (" %s\n", _("Note: if the device is selected with this option, _no_ other options are accepted")); | 600 | printf (" %s\n", _("Note: if the device is specified without this option, any further option will")); |
601 | printf (" %s\n", _("be ignored.")); | ||
601 | 602 | ||
602 | printf (UT_VERBOSE); | 603 | printf (UT_VERBOSE); |
603 | 604 | ||