summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2014-01-23 03:19:06 -0500
committerThomas Guyot-Sionnest <dermoth@aei.ca>2014-01-23 03:19:06 -0500
commit0fbee4deb25c1c69e689c0179de6d6c38c9076c7 (patch)
treef57eb7b9f3fe07f8ad160e4caf76f4b48b4216dd
parentd080c3ad9772c9d5ec64802f377d924ea8cd0a28 (diff)
downloadmonitoring-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c
index 4eea72c4..59cd8a34 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