summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Eble <psychotrahe@users.sourceforge.net>2007-05-09 09:09:02 +0000
committerMatthias Eble <psychotrahe@users.sourceforge.net>2007-05-09 09:09:02 +0000
commitd56c198601d87a9b43f50a8d210321b497255905 (patch)
tree2d6f9910a0af29522baec9335927490f863ac618
parentc3c75a0980824f71351ee1efee9634551b0f0bc1 (diff)
downloadmonitoring-plugins-d56c198601d87a9b43f50a8d210321b497255905.tar.gz
Fixed --help output (Ask Bjoern Hansen - #1714823)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1708 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--THANKS.in1
-rw-r--r--plugins/check_ups.c6
2 files changed, 6 insertions, 1 deletions
diff --git a/THANKS.in b/THANKS.in
index b0ed31b7..baed6965 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -218,3 +218,4 @@ Felix Frank
218Denis Knauf 218Denis Knauf
219Matthias Flacke 219Matthias Flacke
220Emil Michles 220Emil Michles
221Ask Bjoern Hansen
diff --git a/plugins/check_ups.c b/plugins/check_ups.c
index 56438bb2..77897e83 100644
--- a/plugins/check_ups.c
+++ b/plugins/check_ups.c
@@ -618,12 +618,16 @@ print_help (void)
618 printf (" %s\n", _("Name of UPS")); 618 printf (" %s\n", _("Name of UPS"));
619 printf (" %s\n", "-T, --temperature"); 619 printf (" %s\n", "-T, --temperature");
620 printf (" %s\n", _("Output of temperatures in Celsius")); 620 printf (" %s\n", _("Output of temperatures in Celsius"));
621 printf (" %s\n", "-v, --variable=STRING");
622 printf (" %s %s\n", _("Valid values for STRING are"), "LINE, TEMP, BATTPCT or LOADPCT,");
621 623
622 printf (_(UT_WARN_CRIT)); 624 printf (_(UT_WARN_CRIT));
623 625
624 printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); 626 printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
625 627
626 printf (_(UT_VERBOSE)); 628/* TODO: -v clashing with -v/-variable. Commenting out help text since verbose
629 is unused up to now */
630/* printf (_(UT_VERBOSE)); */
627 631
628 printf ("\n"); 632 printf ("\n");
629 printf ("%s\n", _("Notes:")); 633 printf ("%s\n", _("Notes:"));