Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3c800ae

Browse files
committed
Put new command-line options into alphabetical order in help output
1 parent78bad97 commit3c800ae

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

‎src/bin/pg_basebackup/pg_basebackup.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -404,15 +404,15 @@ usage(void)
404404
printf(_(" -S, --slot=SLOTNAME replication slot to use\n"));
405405
printf(_(" -v, --verbose output verbose messages\n"));
406406
printf(_(" -V, --version output version information, then exit\n"));
407+
printf(_(" --manifest-checksums=SHA{224,256,384,512}|CRC32C|NONE\n"
408+
" use algorithm for manifest checksums\n"));
409+
printf(_(" --manifest-force-encode\n"
410+
" hex encode all file names in manifest\n"));
411+
printf(_(" --no-estimate-size do not estimate backup size in server side\n"));
412+
printf(_(" --no-manifest suppress generation of backup manifest\n"));
407413
printf(_(" --no-slot prevent creation of temporary replication slot\n"));
408414
printf(_(" --no-verify-checksums\n"
409415
" do not verify checksums\n"));
410-
printf(_(" --no-estimate-size do not estimate backup size in server side\n"));
411-
printf(_(" --no-manifest suppress generation of backup manifest\n"));
412-
printf(_(" --manifest-force-encode\n"
413-
" hex encode all filenames in manifest\n"));
414-
printf(_(" --manifest-checksums=SHA{224,256,384,512}|CRC32C|NONE\n"
415-
" use algorithm for manifest checksums\n"));
416416
printf(_(" -?, --help show this help, then exit\n"));
417417
printf(_("\nConnection options:\n"));
418418
printf(_(" -d, --dbname=CONNSTR connection string\n"));

‎src/bin/pg_rewind/pg_rewind.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,19 @@ usage(const char *progname)
7878
printf(_("%s resynchronizes a PostgreSQL cluster with another copy of the cluster.\n\n"),progname);
7979
printf(_("Usage:\n %s [OPTION]...\n\n"),progname);
8080
printf(_("Options:\n"));
81-
printf(_(" -c, --restore-target-wal use restore_command in targetconfig\n"
82-
"toretrieve WAL files from archives\n"));
81+
printf(_(" -c, --restore-target-wal use restore_command in targetconfiguration to\n"
82+
" retrieve WAL files from archives\n"));
8383
printf(_(" -D, --target-pgdata=DIRECTORY existing data directory to modify\n"));
8484
printf(_(" --source-pgdata=DIRECTORY source data directory to synchronize with\n"));
8585
printf(_(" --source-server=CONNSTR source server to synchronize with\n"));
86-
printf(_(" -R, --write-recovery-conf write configuration for replication\n"
87-
" (requires --source-server)\n"));
8886
printf(_(" -n, --dry-run stop before modifying anything\n"));
8987
printf(_(" -N, --no-sync do not wait for changes to be written\n"
9088
" safely to disk\n"));
9189
printf(_(" -P, --progress write progress messages\n"));
92-
printf(_(" --no-ensure-shutdown do not automatically fix unclean shutdown\n"));
90+
printf(_(" -R, --write-recovery-conf write configuration for replication\n"
91+
" (requires --source-server)\n"));
9392
printf(_(" --debug write a lot of debug messages\n"));
93+
printf(_(" --no-ensure-shutdown do not automatically fix unclean shutdown\n"));
9494
printf(_(" -V, --version output version information, then exit\n"));
9595
printf(_(" -?, --help show this help, then exit\n"));
9696
printf(_("\nReport bugs to <%s>.\n"),PACKAGE_BUGREPORT);

‎src/bin/pgbench/pgbench.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,9 +638,9 @@ usage(void)
638638
" --foreign-keys create foreign key constraints between tables\n"
639639
" --index-tablespace=TABLESPACE\n"
640640
" create indexes in the specified tablespace\n"
641-
" --partitions=NUM partition pgbench_accounts in NUM parts (default: 0)\n"
642641
" --partition-method=(range|hash)\n"
643642
" partition pgbench_accounts with this method (default: range)\n"
643+
" --partitions=NUM partition pgbench_accounts into NUM parts (default: 0)\n"
644644
" --tablespace=TABLESPACE create tables in the specified tablespace\n"
645645
" --unlogged-tables create tables as unlogged tables\n"
646646
"\nOptions to select what to run:\n"

‎src/bin/scripts/dropdb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ help(const char *progname)
165165
printf(_(" %s [OPTION]... DBNAME\n"),progname);
166166
printf(_("\nOptions:\n"));
167167
printf(_(" -e, --echo show the commands being sent to the server\n"));
168-
printf(_(" -i, --interactive prompt before deleting anything\n"));
169168
printf(_(" -f, --force try to terminate other connections before dropping\n"));
169+
printf(_(" -i, --interactive prompt before deleting anything\n"));
170170
printf(_(" -V, --version output version information, then exit\n"));
171171
printf(_(" --if-exists don't report error if database doesn't exist\n"));
172172
printf(_(" -?, --help show this help, then exit\n"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp