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

Commitcaf936b

Browse files
committed
pg_ctl: Add long option for -o
Now all normally used options are covered by long options as well.
1 parentc709c60 commitcaf936b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

‎doc/src/sgml/ref/pg_ctl-ref.sgml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ PostgreSQL documentation
301301

302302
<varlistentry>
303303
<term><option>-o <replaceable class="parameter">options</replaceable></option></term>
304+
<term><option>--options=<replaceable class="parameter">options</replaceable></option></term>
304305
<listitem>
305306
<para>
306307
Specifies options to be passed directly to the
@@ -316,6 +317,7 @@ PostgreSQL documentation
316317

317318
<varlistentry>
318319
<term><option>-o <replaceable class="parameter">initdb-options</replaceable></option></term>
320+
<term><option>--options=<replaceable class="parameter">initdb-options</replaceable></option></term>
319321
<listitem>
320322
<para>
321323
Specifies options to be passed directly to the

‎src/bin/pg_ctl/pg_ctl.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1972,7 +1972,7 @@ do_help(void)
19721972
printf(_(" -c, --core-files not applicable on this platform\n"));
19731973
#endif
19741974
printf(_(" -l, --log=FILENAME write (or append) server log to FILENAME\n"));
1975-
printf(_(" -oOPTIONS command line options to pass to postgres\n"
1975+
printf(_(" -o, --options=OPTIONS command line options to pass to postgres\n"
19761976
" (PostgreSQL server executable) or initdb\n"));
19771977
printf(_(" -p PATH-TO-POSTGRES normally not necessary\n"));
19781978
printf(_("\nOptions for stop or restart:\n"));
@@ -2171,6 +2171,7 @@ main(int argc, char **argv)
21712171
{"log",required_argument,NULL,'l'},
21722172
{"mode",required_argument,NULL,'m'},
21732173
{"pgdata",required_argument,NULL,'D'},
2174+
{"options",required_argument,NULL,'o'},
21742175
{"silent",no_argument,NULL,'s'},
21752176
{"timeout",required_argument,NULL,'t'},
21762177
{"core-files",no_argument,NULL,'c'},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp