From: Greg Sabino Mullane Date: Mon, 22 Sep 2008 14:00:30 +0000 (-0400) Subject: Allow 'db' variants of host and port arguments. X-Git-Tag: 2.9.0~271 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=77a7ece15361b6a5d7ba66318e86b22244e835ea;p=check_postgres.git Allow 'db' variants of host and port arguments. --- 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@',