summaryrefslogtreecommitdiffstats
path: root/plugins/check_ups.c
diff options
context:
space:
mode:
authorMatthias Eble <psychotrahe@users.sourceforge.net>2007-05-09 09:09:02 (GMT)
committerMatthias Eble <psychotrahe@users.sourceforge.net>2007-05-09 09:09:02 (GMT)
commitd56c198601d87a9b43f50a8d210321b497255905 (patch)
tree2d6f9910a0af29522baec9335927490f863ac618 /plugins/check_ups.c
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
Diffstat (limited to 'plugins/check_ups.c')
-rw-r--r--plugins/check_ups.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/check_ups.c b/plugins/check_ups.c
index 56438bb..77897e8 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:"));