mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
added -H (--HELP) to myisamchk to get a list of all the options it accepts (including debug and internal ones).
This commit is contained in:
parent
53ac59b913
commit
a90ad0a0d0
1 changed files with 6 additions and 0 deletions
|
@ -194,6 +194,9 @@ static struct my_option my_long_options[] =
|
|||
{"force", 'f',
|
||||
"Restart with -r if there are any errors in the table. States will be updated as with --update-state.",
|
||||
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
|
||||
{"HELP", 'H',
|
||||
"Display this help and exit.",
|
||||
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
|
||||
{"help", '?',
|
||||
"Display this help and exit.",
|
||||
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
|
||||
|
@ -624,6 +627,9 @@ get_one_option(int optid,
|
|||
check_param.start_check_pos= strtoull(argument, NULL, 0);
|
||||
break;
|
||||
#endif
|
||||
case 'H':
|
||||
my_print_help(my_long_options);
|
||||
exit(0);
|
||||
case '?':
|
||||
usage();
|
||||
exit(0);
|
||||
|
|
Loading…
Reference in a new issue