This is my output on Windows:
------------------------------------------------------------------------------------------------------------
D:\Code>pg_dump -U postgres -d test -n public
pg_dump: too many command-line arguments (first is "-n")
Try "pg_dump --help" for more information.
D:\Code>pg_dump -U postgres -d test --schema=public
pg_dump: too many command-line arguments (first is "--schema=public")
Try "pg_dump --help" for more information.
D:\Code>pg_dump --version
pg_dump (PostgreSQL) 8.3.3
---------------------------------------------------------------------------------------------------------