projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cc1302
)
Allow 'db' variants of host and port arguments.
author
Greg Sabino Mullane
<
[email protected]
>
Mon, 22 Sep 2008 14:00:30 +0000
(10:00 -0400)
committer
Greg Sabino Mullane
<
[email protected]
>
Mon, 22 Sep 2008 14:00:30 +0000
(10:00 -0400)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index 83b143cd019e6542a27b66b5dd9a1f54f18de96d..c85b9d47c398a3821619b366beae7f1317fdc1da 100755
(executable)
--- 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@',