Skip to content

Commit fc402fd

Browse files
committed
pg_restore --help improvements, from Tom Lane:
! printf(_(" -d, --dbname=NAME connect to database name\n")); ! printf(_(" -C, --create create the target database\n"));
1 parent 85eda8e commit fc402fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/pg_dump/pg_restore.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*
3535
*
3636
* IDENTIFICATION
37-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_restore.c,v 1.65 2004/10/22 16:04:35 petere Exp $
37+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_restore.c,v 1.66 2004/11/11 17:06:46 momjian Exp $
3838
*
3939
*-------------------------------------------------------------------------
4040
*/
@@ -360,7 +360,7 @@ usage(const char *progname)
360360
printf(_(" %s [OPTION]... [FILE]\n"), progname);
361361

362362
printf(_("\nGeneral options:\n"));
363-
printf(_(" -d, --dbname=NAME target database name\n"));
363+
printf(_(" -d, --dbname=NAME connect to database name\n"));
364364
printf(_(" -f, --file=FILENAME output file name\n"));
365365
printf(_(" -F, --format=c|t specify backup file format\n"));
366366
printf(_(" -i, --ignore-version proceed even when server version mismatches\n"));
@@ -372,7 +372,7 @@ usage(const char *progname)
372372
printf(_("\nOptions controlling the restore:\n"));
373373
printf(_(" -a, --data-only restore only the data, no schema\n"));
374374
printf(_(" -c, --clean clean (drop) schema prior to create\n"));
375-
printf(_(" -C, --create issue commands to create the database\n"));
375+
printf(_(" -C, --create create the target database\n"));
376376
printf(_(" -I, --index=NAME restore named index\n"));
377377
printf(_(" -L, --use-list=FILENAME use specified table of contents for ordering\n"
378378
" output from this file\n"));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy