\r
If no password is specified, one is prompted for.\r
.TP\r
+.B \-w\r
+Use ~/.pgpass for authentication (overrides all other password options)\r
+.TP\r
+\r
.B \-l <path>\r
Path to the templates (default: @@TEMPLATE-DIR@@)\r
.TP\r
last;
};
+ # Read from .pgpass (override all other password options)
+ /^-w$/ && do {
+ $dbpass = undef;
+ $dbuser = undef;
+ $needpass = 0;
+ last;
+ };
+
# Set the base of the filename. The extensions pulled
# from the templates will be appended to this name
/^-f$/ && do {