aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2018-06-26 14:57:53 +0900
committerMichael Paquier <michael@paquier.xyz>2018-06-26 14:57:53 +0900
commitc672d709b089f919381a2c36eea32a29d8de4198 (patch)
tree290141c1da7f9a62db5972eba62fce164b93fa44 /src
parentd08c3d5197fac1f49cedbd8417e685479ad7439a (diff)
downloadpostgresql-c672d709b089f919381a2c36eea32a29d8de4198.tar.gz
postgresql-c672d709b089f919381a2c36eea32a29d8de4198.zip
Fix description and documentation related to pg_restore --no-comments
These descriptions have been referring to object dump, but a restore operation is done. Reported-by: Andrey Lizenko Author: Andrey Lizenko Discussion: https://postgr.es/m/152992021588.1268.16786093506650391435@wrigleys.postgresql.org
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/pg_restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_dump/pg_restore.c b/src/bin/pg_dump/pg_restore.c
index 2342a635712..501d7cea72b 100644
--- a/src/bin/pg_dump/pg_restore.c
+++ b/src/bin/pg_dump/pg_restore.c
@@ -483,7 +483,7 @@ usage(const char *progname)
printf(_(" --disable-triggers disable triggers during data-only restore\n"));
printf(_(" --enable-row-security enable row security\n"));
printf(_(" --if-exists use IF EXISTS when dropping objects\n"));
- printf(_(" --no-comments do not dump comments\n"));
+ printf(_(" --no-comments do not restore comments\n"));
printf(_(" --no-data-for-failed-tables do not restore data of tables that could not be\n"
" created\n"));
printf(_(" --no-publications do not restore publications\n"));