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

Commit63ab1a3

Browse files
committed
pg_ctl: Improve help formatting and order
1 parent0160c1d commit63ab1a3

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

‎src/bin/pg_ctl/pg_ctl.c

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1914,11 +1914,10 @@ do_help(void)
19141914

19151915
printf(_("\nCommon options:\n"));
19161916
printf(_(" -D, --pgdata=DATADIR location of the database storage area\n"));
1917-
printf(_(" -s, --silent only print errors, no informational messages\n"));
19181917
#if defined(WIN32)|| defined(__CYGWIN__)
1919-
printf(_(" -e SOURCE event source to use for logging when running\n"
1920-
" as a service\n"));
1918+
printf(_(" -e SOURCE event source for logging when running as a service\n"));
19211919
#endif
1920+
printf(_(" -s, --silent only print errors, no informational messages\n"));
19221921
printf(_(" -t, --timeout=SECS seconds to wait when using -w option\n"));
19231922
printf(_(" -V, --version output version information, then exit\n"));
19241923
printf(_(" -w wait until operation completes\n"));
@@ -2203,15 +2202,15 @@ main(int argc, char **argv)
22032202
pgdata_opt=psprintf("-D \"%s\" ",pgdata_D);
22042203
break;
22052204
}
2205+
case'e':
2206+
event_source=pg_strdup(optarg);
2207+
break;
22062208
case'l':
22072209
log_file=pg_strdup(optarg);
22082210
break;
22092211
case'm':
22102212
set_mode(optarg);
22112213
break;
2212-
case'e':
2213-
event_source=pg_strdup(optarg);
2214-
break;
22152214
case'N':
22162215
register_servicename=pg_strdup(optarg);
22172216
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp