aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_ups.c
diff options
context:
space:
mode:
authorGravatar Matthias Eble <psychotrahe@users.sourceforge.net> 2007-05-09 09:09:02 +0000
committerGravatar Matthias Eble <psychotrahe@users.sourceforge.net> 2007-05-09 09:09:02 +0000
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 56438bb2..77897e83 100644
--- a/plugins/check_ups.c
+++ b/plugins/check_ups.c
@@ -618,12 +618,16 @@ print_help (void)
printf (" %s\n", _("Name of UPS"));
printf (" %s\n", "-T, --temperature");
printf (" %s\n", _("Output of temperatures in Celsius"));
+ printf (" %s\n", "-v, --variable=STRING");
+ printf (" %s %s\n", _("Valid values for STRING are"), "LINE, TEMP, BATTPCT or LOADPCT,");
printf (_(UT_WARN_CRIT));
printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
- printf (_(UT_VERBOSE));
+/* TODO: -v clashing with -v/-variable. Commenting out help text since verbose
+ is unused up to now */
+/* printf (_(UT_VERBOSE)); */
printf ("\n");
printf ("%s\n", _("Notes:"));