@@ -1959,8 +1959,8 @@ do_help(void)
1959
1959
printf (_ (" -s, --silent only print errors, no informational messages\n" ));
1960
1960
printf (_ (" -t, --timeout=SECS seconds to wait when using -w option\n" ));
1961
1961
printf (_ (" -V, --version output version information, then exit\n" ));
1962
- printf (_ (" -w wait until operation completes\n" ));
1963
- printf (_ (" -W do not wait until operation completes\n" ));
1962
+ printf (_ (" -w, --wait wait until operation completes\n" ));
1963
+ printf (_ (" -W, --no-wait do not wait until operation completes\n" ));
1964
1964
printf (_ (" -?, --help show this help, then exit\n" ));
1965
1965
printf (_ ("(The default is to wait for shutdown, but not for start or restart.)\n\n" ));
1966
1966
printf (_ ("If the -D option is omitted, the environment variable PGDATA is used.\n" ));
@@ -2174,6 +2174,8 @@ main(int argc, char **argv)
2174
2174
{"silent" , no_argument , NULL , 's' },
2175
2175
{"timeout" , required_argument , NULL , 't' },
2176
2176
{"core-files" , no_argument , NULL , 'c' },
2177
+ {"wait" , no_argument , NULL , 'w' },
2178
+ {"no-wait" , no_argument , NULL , 'W' },
2177
2179
{NULL , 0 , NULL , 0 }
2178
2180
};
2179
2181
0 commit comments