[Nagiosplug-checkins] nagiosplug/plugins check_by_ssh.c,1.43,1.44

Holger Weiss hweiss at users.sourceforge.net
Wed Jun 13 01:18:15 CEST 2007


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14826

Modified Files:
	check_by_ssh.c 
Log Message:
Add "-v" to help/usage output.

Index: check_by_ssh.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_by_ssh.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- check_by_ssh.c	18 Apr 2007 19:31:29 -0000	1.43
+++ check_by_ssh.c	12 Jun 2007 23:18:13 -0000	1.44
@@ -399,6 +399,7 @@
   printf (" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c1;0; up 2 days");
   printf (" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c2;0; up 2 days");
   printf (" %s\n", "[1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c3;0; up 2 days");
+	printf (_(UT_VERBOSE));
 	printf (_(UT_SUPPORT));
 }
 
@@ -408,7 +409,7 @@
 print_usage (void)
 {
 	printf (_("Usage:"));
-	printf (" %s -H <host> -C <command> [-fq] [-1|-2] [-4|-6]\n"
+	printf (" %s -H <host> -C <command> [-fqv] [-1|-2] [-4|-6]\n"
 	        "       [-S [lines]] [-E [lines]] [-t timeout] [-i identity]\n"
 	        "       [-l user] [-n name] [-s servicelist] [-O outputfile]\n"
 	        "       [-p port] [-o ssh-option]\n",





More information about the Commits mailing list