Skip to content

Commit 6684326

Browse files
committed
Indicate default format in --help output of pg_dump and pg_basebackup
1 parent 037a827 commit 6684326

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/bin/pg_basebackup/pg_basebackup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ usage(void)
105105
printf(_(" %s [OPTION]...\n"), progname);
106106
printf(_("\nOptions controlling the output:\n"));
107107
printf(_(" -D, --pgdata=DIRECTORY receive base backup into directory\n"));
108-
printf(_(" -F, --format=p|t output format (plain, tar)\n"));
108+
printf(_(" -F, --format=p|t output format (plain (default), tar)\n"));
109109
printf(_(" -x, --xlog=fetch|stream include required WAL files in backup\n"));
110110
printf(_(" -z, --gzip compress tar output\n"));
111111
printf(_(" -Z, --compress=0-9 compress tar output with given compression level\n"));

src/bin/pg_dump/pg_dump.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,8 @@ help(const char *progname)
860860

861861
printf(_("\nGeneral options:\n"));
862862
printf(_(" -f, --file=FILENAME output file or directory name\n"));
863-
printf(_(" -F, --format=c|d|t|p output file format (custom, directory, tar, plain text)\n"));
863+
printf(_(" -F, --format=c|d|t|p output file format (custom, directory, tar,\n"
864+
" plain text (default))\n"));
864865
printf(_(" -v, --verbose verbose mode\n"));
865866
printf(_(" -Z, --compress=0-9 compression level for compressed formats\n"));
866867
printf(_(" --lock-wait-timeout=TIMEOUT fail after waiting TIMEOUT for a table lock\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