From 51b248cfdd7b0c6c6477be8eda7a0cdd335f11bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Lindstr=C3=B6m?= Date: Tue, 24 Jan 2017 15:04:50 +0200 Subject: MDEV-11879: Duplicate option innochecksum -l (--log, --leaf) Move --leaf under -e to avoid duplicate option and retain -l for --log (to maintain compatibility with MySQL 5.7). --- extra/innochecksum.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extra') diff --git a/extra/innochecksum.cc b/extra/innochecksum.cc index 9d02a545cc5..707451da7fa 100644 --- a/extra/innochecksum.cc +++ b/extra/innochecksum.cc @@ -1381,7 +1381,7 @@ static struct my_option innochecksum_options[] = { {"log", 'l', "log output.", &log_filename, &log_filename, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, - {"leaf", 'l', "Examine leaf index pages", + {"leaf", 'e', "Examine leaf index pages", &do_leaf, &do_leaf, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0}, {"merge", 'm', "leaf page count if merge given number of consecutive pages", &n_merge, &n_merge, 0, GET_ULONG, REQUIRED_ARG, 0, 0, (longlong)10L, 0, 1, 0}, @@ -1411,7 +1411,7 @@ static void usage(void) printf("Usage: %s [-c] [-s ] [-e ] " "[-p ] [-v] [-a ] [-n] " "[-C ] [-w ] [-S] [-D ] " - "[-l ] \n", my_progname); + "[-l ] [-e] \n", my_progname); printf("See " REFMAN "innochecksum.html for usage hints.\n"); my_print_help(innochecksum_options); my_print_variables(innochecksum_options); -- cgit v1.2.1