[Nagiosplug-checkins] nagiosplug/plugins check_ups.c,1.31,1.32
Matthias Eble
psychotrahe at users.sourceforge.net
Wed May 9 11:09:05 CEST 2007
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs16:/tmp/cvs-serv25997/plugins
Modified Files:
check_ups.c
Log Message:
Fixed --help output (Ask Bjoern Hansen - #1714823)
Index: check_ups.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_ups.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- check_ups.c 28 Jan 2007 21:46:41 -0000 1.31
+++ check_ups.c 9 May 2007 09:09:02 -0000 1.32
@@ -618,12 +618,16 @@
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:"));
More information about the Commits
mailing list