mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
pg_ctl: Add long option for -o
Now all normally used options are covered by long options as well.
This commit is contained in:
parent
c709c60740
commit
caf936b09f
@ -301,6 +301,7 @@ PostgreSQL documentation
|
|||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><option>-o <replaceable class="parameter">options</replaceable></option></term>
|
<term><option>-o <replaceable class="parameter">options</replaceable></option></term>
|
||||||
|
<term><option>--options=<replaceable class="parameter">options</replaceable></option></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Specifies options to be passed directly to the
|
Specifies options to be passed directly to the
|
||||||
@ -316,6 +317,7 @@ PostgreSQL documentation
|
|||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><option>-o <replaceable class="parameter">initdb-options</replaceable></option></term>
|
<term><option>-o <replaceable class="parameter">initdb-options</replaceable></option></term>
|
||||||
|
<term><option>--options=<replaceable class="parameter">initdb-options</replaceable></option></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Specifies options to be passed directly to the
|
Specifies options to be passed directly to the
|
||||||
|
@ -1972,7 +1972,7 @@ do_help(void)
|
|||||||
printf(_(" -c, --core-files not applicable on this platform\n"));
|
printf(_(" -c, --core-files not applicable on this platform\n"));
|
||||||
#endif
|
#endif
|
||||||
printf(_(" -l, --log=FILENAME write (or append) server log to FILENAME\n"));
|
printf(_(" -l, --log=FILENAME write (or append) server log to FILENAME\n"));
|
||||||
printf(_(" -o OPTIONS command line options to pass to postgres\n"
|
printf(_(" -o, --options=OPTIONS command line options to pass to postgres\n"
|
||||||
" (PostgreSQL server executable) or initdb\n"));
|
" (PostgreSQL server executable) or initdb\n"));
|
||||||
printf(_(" -p PATH-TO-POSTGRES normally not necessary\n"));
|
printf(_(" -p PATH-TO-POSTGRES normally not necessary\n"));
|
||||||
printf(_("\nOptions for stop or restart:\n"));
|
printf(_("\nOptions for stop or restart:\n"));
|
||||||
@ -2171,6 +2171,7 @@ main(int argc, char **argv)
|
|||||||
{"log", required_argument, NULL, 'l'},
|
{"log", required_argument, NULL, 'l'},
|
||||||
{"mode", required_argument, NULL, 'm'},
|
{"mode", required_argument, NULL, 'm'},
|
||||||
{"pgdata", required_argument, NULL, 'D'},
|
{"pgdata", required_argument, NULL, 'D'},
|
||||||
|
{"options", required_argument, NULL, 'o'},
|
||||||
{"silent", no_argument, NULL, 's'},
|
{"silent", no_argument, NULL, 's'},
|
||||||
{"timeout", required_argument, NULL, 't'},
|
{"timeout", required_argument, NULL, 't'},
|
||||||
{"core-files", no_argument, NULL, 'c'},
|
{"core-files", no_argument, NULL, 'c'},
|
||||||
|
Loading…
Reference in New Issue
Block a user