Hello pgsql-docs :-)
Please consider changing "Connect to database dbname and restore directly into the database" to "Connect to database dbname and restore directly into the database named in the input file"
Best
Charles