static char *argv0 = NULL;
static bool allow_core_files = false;
static time_t start_time;
-@@ -2047,6 +2048,9 @@ do_help(void)
+@@ -2082,6 +2083,9 @@ do_help(void)
#endif
printf(_(" -s, --silent only print errors, no informational messages\n"));
printf(_(" -t, --timeout=SECS seconds to wait when using -w option\n"));
printf(_(" -V, --version output version information, then exit\n"));
printf(_(" -w, --wait wait until operation completes (default)\n"));
printf(_(" -W, --no-wait do not wait until operation completes\n"));
-@@ -2259,6 +2263,7 @@ main(int argc, char **argv)
+@@ -2294,6 +2298,7 @@ main(int argc, char **argv)
{"options", required_argument, NULL, 'o'},
{"silent", no_argument, NULL, 's'},
{"timeout", required_argument, NULL, 't'},
{"core-files", no_argument, NULL, 'c'},
{"wait", no_argument, NULL, 'w'},
{"no-wait", no_argument, NULL, 'W'},
-@@ -2299,20 +2304,6 @@ main(int argc, char **argv)
+@@ -2334,20 +2339,6 @@ main(int argc, char **argv)
}
}
env_wait = getenv("PGCTLTIMEOUT");
if (env_wait != NULL)
-@@ -2399,11 +2390,15 @@ main(int argc, char **argv)
+@@ -2434,11 +2425,15 @@ main(int argc, char **argv)
wait_seconds_arg = true;
break;
case 'U':
break;
case 'w':
do_wait = true;
-@@ -2485,6 +2480,41 @@ main(int argc, char **argv)
+@@ -2520,6 +2515,41 @@ main(int argc, char **argv)
exit(1);
}