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

Commit2a7f636

Browse files
committed
pg_ctl: Improve --help output
All other --help output has = signs between long options and theirarguments, so do it here as well.
1 parent7d88bb7 commit2a7f636

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/bin/pg_ctl/pg_ctl.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1762,9 +1762,9 @@ do_help(void)
17621762
#endif
17631763

17641764
printf(_("\nCommon options:\n"));
1765-
printf(_(" -D, --pgdataDATADIR location of the database storage area\n"));
1765+
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, --timeoutSECS 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"));
@@ -1778,12 +1778,12 @@ do_help(void)
17781778
#else
17791779
printf(_(" -c, --core-files not applicable on this platform\n"));
17801780
#endif
1781-
printf(_(" -l, --logFILENAME write (or append) server log to FILENAME\n"));
1781+
printf(_(" -l, --log=FILENAME write (or append) server log to FILENAME\n"));
17821782
printf(_(" -o OPTIONS command line options to pass to postgres\n"
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, --modeMODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"));
1786+
printf(_(" -m, --mode=MODE 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