From 77a7ece15361b6a5d7ba66318e86b22244e835ea Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Mon, 22 Sep 2008 10:00:30 -0400 Subject: [PATCH] Allow 'db' variants of host and port arguments. --- check_postgres.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/check_postgres.pl b/check_postgres.pl index 83b143cd0..c85b9d47c 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -102,14 +102,14 @@ die $USAGE unless 'includeuser=s@', 'excludeuser=s@', - 'host|H=s@', - 'port=s@', + 'dbhost|host|H=s@', + 'dbport|port=s@', 'dbname|db=s@', 'dbuser|u=s@', 'dbpass=s@', - 'host2|H2=s@', - 'port2=s@', + 'dbhost2|host2|H2=s@', + 'dbport2|port2=s@', 'dbname2|db2=s@', 'dbuser2|u2=s@', 'dbpass2=s@', -- 2.39.5