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

Commit4efbb7d

Browse files
committed
Add missing descriptions about '--timeout' and '--mode' to help
message. They are already implemented in the source code.Suggestions about the message formatting from Tom Lane.
1 parentea6a2d8 commit4efbb7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/pg_ctl/pg_ctl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,7 +1764,7 @@ do_help(void)
17641764
printf(_("\nCommon options:\n"));
17651765
printf(_(" -D, --pgdata DATADIR location of the database storage area\n"));
17661766
printf(_(" -s, --silent only print errors, no informational messages\n"));
1767-
printf(_(" -t SECS seconds to wait when using -w option\n"));
1767+
printf(_(" -t, --timeout SECS seconds to wait when using -w option\n"));
17681768
printf(_(" -w wait until operation completes\n"));
17691769
printf(_(" -W do not wait until operation completes\n"));
17701770
printf(_(" --help show this help, then exit\n"));
@@ -1783,7 +1783,7 @@ do_help(void)
17831783
" (PostgreSQL server executable) or initdb\n"));
17841784
printf(_(" -p PATH-TO-POSTGRES normally not necessary\n"));
17851785
printf(_("\nOptions for stop or restart:\n"));
1786-
printf(_(" -m SHUTDOWN-MODE can be \"smart\", \"fast\", or \"immediate\"\n"));
1786+
printf(_(" -m, --modeMODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"));
17871787

17881788
printf(_("\nShutdown modes are:\n"));
17891789
printf(_(" smart quit after all clients have disconnected\n"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp