@@ -1959,8 +1959,8 @@ do_help(void)
19591959 printf (_ (" -s, --silent only print errors, no informational messages\n" ));
19601960 printf (_ (" -t, --timeout=SECS seconds to wait when using -w option\n" ));
19611961 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" ));
19641964 printf (_ (" -?, --help show this help, then exit\n" ));
19651965 printf (_ ("(The default is to wait for shutdown, but not for start or restart.)\n\n" ));
19661966 printf (_ ("If the -D option is omitted, the environment variable PGDATA is used.\n" ));
@@ -2174,6 +2174,8 @@ main(int argc, char **argv)
21742174 {"silent" , no_argument , NULL , 's' },
21752175 {"timeout" , required_argument , NULL , 't' },
21762176 {"core-files" , no_argument , NULL , 'c' },
2177+ {"wait" , no_argument , NULL , 'w' },
2178+ {"no-wait" , no_argument , NULL , 'W' },
21772179 {NULL , 0 , NULL , 0 }
21782180 };
21792181
0 commit comments