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

Commita41106d

Browse files
committed
Fix documentation of initdb --show option
It wasn't in the documentation at all (even though we document all theother debugging-like options). Also, change the --help output to showthat it exits after showing, similar to other options.
1 parentad8877c commita41106d

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

‎doc/src/sgml/ref/initdb.sgml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,18 @@ PostgreSQL documentation
525525
</listitem>
526526
</varlistentry>
527527

528+
<varlistentry id="app-initdb-option-show">
529+
<term><option>-s</option></term>
530+
<term><option>--show</option></term>
531+
<listitem>
532+
<para>
533+
Show internal settings and exit, without doing anything else. This
534+
can be used to debug the <application>initdb</application>
535+
installation.
536+
</para>
537+
</listitem>
538+
</varlistentry>
539+
528540
<varlistentry id="app-initdb-option-sync-method">
529541
<term><option>--sync-method=<replaceable>method</replaceable></option></term>
530542
<listitem>

‎src/bin/initdb/initdb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2481,7 +2481,7 @@ usage(const char *progname)
24812481
printf(_(" -n, --no-clean do not clean up after errors\n"));
24822482
printf(_(" -N, --no-sync do not wait for changes to be written safely to disk\n"));
24832483
printf(_(" --no-instructions do not print instructions for next steps\n"));
2484-
printf(_(" -s, --show show internal settings\n"));
2484+
printf(_(" -s, --show show internal settings, then exit\n"));
24852485
printf(_(" --sync-method=METHOD set method for syncing files to disk\n"));
24862486
printf(_(" -S, --sync-only only sync database files to disk, then exit\n"));
24872487
printf(_("\nOther options:\n"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp