From d56c198601d87a9b43f50a8d210321b497255905 Mon Sep 17 00:00:00 2001
From: Matthias Eble <psychotrahe@users.sourceforge.net>
Date: Wed, 9 May 2007 09:09:02 +0000
Subject: 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

diff --git a/THANKS.in b/THANKS.in
index b0ed31b..baed696 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -218,3 +218,4 @@ Felix Frank
 Denis Knauf
 Matthias Flacke
 Emil Michles
+Ask Bjoern Hansen
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)
   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:"));
-- 
cgit v0.10-9-g596f

