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 07f002a5fb625aaec27d9f7602b7a2973fbc0509..1799accc10c3e6129a47af9a88b46791bb12e4f2 100644 (file)
@@ -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 51b65cb39e8a33fe33b9188220893d8f2d794ced..20f4342da5ffc51eef8c1a75b05a6e60df2dc899 100644 (file)
@@ -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"));