The following bug has been logged on the website:
Bug reference: 15252
Logged by: Andrey Lizenko
Email address: lizenko79(at)gmail(dot)com
PostgreSQL version: 11beta1
Operating system: Ubuntu 16.04 LTS
Description:
pg_restore --help reports "do not dump comments" instead of "do not
restore comments":
postgres(at)db1:~$ pg_restore --help | grep comment
--no-comments do not dump comments
The same issue in PostgreSQL devel documentation.
pg_restore tool by itself works as expected