]> granicus.if.org Git - postgresql/commitdiff
Make pg_dump and pg_dumpall --clean options match the SGML docs, for consistency.
authorBruce Momjian <bruce@momjian.us>
Tue, 6 Jan 2009 18:01:57 +0000 (18:01 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 6 Jan 2009 18:01:57 +0000 (18:01 +0000)
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dumpall.c

index 1935958dd3e44c79ba5d668221ffc5ee20f11517..ca4b15ef2f862df7272a628185837dfd45819c26 100644 (file)
@@ -12,7 +12,7 @@
  *     by PostgreSQL
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.512 2009/01/05 16:54:37 tgl Exp $
+ *       $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.513 2009/01/06 18:01:57 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -803,7 +803,7 @@ help(const char *progname)
        printf(_("\nOptions controlling the output content:\n"));
        printf(_("  -a, --data-only             dump only the data, not the schema\n"));
        printf(_("  -b, --blobs                 include large objects in dump\n"));
-       printf(_("  -c, --clean                 clean (drop) schema prior to create\n"));
+       printf(_("  -c, --clean                 clean (drop) database objects before recreating\n"));
        printf(_("  -C, --create                include commands to create database in dump\n"));
        printf(_("  -d, --inserts               dump data as INSERT commands, rather than COPY\n"));
        printf(_("  -D, --column-inserts        dump data as INSERT commands with column names\n"));
index 3ee8ad1cc77a36cf5e4c7cb6ab8a8ed508b34b87..1be955b3e72d3f5836967bdfc69715292768db46 100644 (file)
@@ -6,7 +6,7 @@
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  *
- * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.111 2009/01/05 16:54:37 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.112 2009/01/06 18:01:57 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -500,7 +500,7 @@ help(void)
                         "                           fail after waiting TIMEOUT for a table lock\n"));
        printf(_("\nOptions controlling the output content:\n"));
        printf(_("  -a, --data-only          dump only the data, not the schema\n"));
-       printf(_("  -c, --clean              clean (drop) databases prior to create\n"));
+       printf(_("  -c, --clean              clean (drop) databases before recreating\n"));
        printf(_("  -d, --inserts            dump data as INSERT, rather than COPY, commands\n"));
        printf(_("  -D, --column-inserts     dump data as INSERT commands with column names\n"));
        printf(_("  -g, --globals-only       dump only global objects, no databases\n"));