mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Remove undocumented -h (help) option
The -h option was not supported by many tools, and not documented, so remove them for consistency from pg_upgrade, pg_test_fsync, and pg_test_timing.
This commit is contained in:
@ -146,8 +146,7 @@ handle_args(int argc, char *argv[])
|
||||
|
||||
if (argc > 1)
|
||||
{
|
||||
if (strcmp(argv[1], "--help") == 0 || strcmp(argv[1], "-h") == 0 ||
|
||||
strcmp(argv[1], "-?") == 0)
|
||||
if (strcmp(argv[1], "--help") == 0 || strcmp(argv[1], "-?") == 0)
|
||||
{
|
||||
printf("Usage: %s [-f FILENAME] [-s SECS-PER-TEST]\n", progname);
|
||||
exit(0);
|
||||
|
Reference in New Issue
Block a user