summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-06-23 17:07:03 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2020-06-23 17:07:03 +0200
commit5018b998a76b99a30efe96ca007a95a5a1c83bb5 (patch)
treef5437b7d66f4563d944770a4ba9b8ba1c3cdb433
parent039cb6f6bfaaeafeb87e6d10c88be2cac87654e7 (diff)
downloadmariadb-git-5018b998a76b99a30efe96ca007a95a5a1c83bb5.tar.gz
return --help optionmariadb-10.5.4
-rw-r--r--extra/mariabackup/xtrabackup.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/mariabackup/xtrabackup.cc b/extra/mariabackup/xtrabackup.cc
index 0b53f1382ea..faf2d6147a0 100644
--- a/extra/mariabackup/xtrabackup.cc
+++ b/extra/mariabackup/xtrabackup.cc
@@ -119,6 +119,7 @@ my_bool xtrabackup_move_back;
my_bool xtrabackup_decrypt_decompress;
my_bool xtrabackup_print_param;
my_bool xtrabackup_mysqld_args;
+my_bool help;
my_bool xtrabackup_export;
@@ -1415,6 +1416,11 @@ struct my_option xb_server_options[] =
(G_PTR *) &xtrabackup_mysqld_args, (G_PTR *) &xtrabackup_mysqld_args, 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}
};