[nagiosplug] check_pgsql: Remove -4/-6 flags from help output

Nagios Plugin Development nagios-plugins at users.sourceforge.net
Sat Aug 17 22:50:58 CEST 2013


 Module: nagiosplug
 Branch: master
 Commit: 329f843ef6aceed19389e21b44f97686771b235c
 Author: Holger Weiss <holger at zedat.fu-berlin.de>
   Date: Sat Aug 17 22:33:43 2013 +0200
    URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=329f843

check_pgsql: Remove -4/-6 flags from help output

The -4/-6 options are currently not supported.

---

 plugins/check_pgsql.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c
index c109955..d3116b0 100644
--- a/plugins/check_pgsql.c
+++ b/plugins/check_pgsql.c
@@ -576,7 +576,7 @@ void
 print_usage (void)
 {
 	printf ("%s\n", _("Usage:"));
-	printf ("%s [-H <host>] [-4|-6] [-P <port>] [-c <critical time>] [-w <warning time>]\n", progname);
+	printf ("%s [-H <host>] [-P <port>] [-c <critical time>] [-w <warning time>]\n", progname);
 	printf (" [-t <timeout>] [-d <database>] [-l <logname>] [-p <password>]\n"
 			"[-q <query>] [-C <critical query range>] [-W <warning query range>]\n");
 }





More information about the Commits mailing list