Commit 5018b998 authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

return --help option

parent 039cb6f6
...@@ -119,6 +119,7 @@ my_bool xtrabackup_move_back; ...@@ -119,6 +119,7 @@ my_bool xtrabackup_move_back;
my_bool xtrabackup_decrypt_decompress; my_bool xtrabackup_decrypt_decompress;
my_bool xtrabackup_print_param; my_bool xtrabackup_print_param;
my_bool xtrabackup_mysqld_args; my_bool xtrabackup_mysqld_args;
my_bool help;
my_bool xtrabackup_export; my_bool xtrabackup_export;
...@@ -1415,6 +1416,11 @@ struct my_option xb_server_options[] = ...@@ -1415,6 +1416,11 @@ struct my_option xb_server_options[] =
(G_PTR *) &xtrabackup_mysqld_args, (G_PTR *) &xtrabackup_mysqld_args, 0, (G_PTR *) &xtrabackup_mysqld_args, (G_PTR *) &xtrabackup_mysqld_args, 0,
GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0}, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
{"help", '?',
"Display this help and exit.",
(G_PTR *) &help, (G_PTR *) &help, 0,
GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
{ 0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0} { 0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment