Code

Add "-v" to help/usage output.
authorHolger Weiss <hweiss@users.sourceforge.net>
Tue, 12 Jun 2007 23:18:13 +0000 (23:18 +0000)
committerHolger Weiss <hweiss@users.sourceforge.net>
Tue, 12 Jun 2007 23:18:13 +0000 (23:18 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1738 f882894a-f735-0410-b71e-b25c423dba1c

plugins/check_by_ssh.c

index 6855ebc06eb35a8f29064d638a9d89ee2ecc1ac8..46d1297fe744b6bd0097e84712a24cd74a1bf963 100644 (file)
@@ -399,6 +399,7 @@ print_help (void)
   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 @@ void
 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",