summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2020-05-08 14:11:41 +0200
committerSergei Golubchik <serg@mariadb.org>2020-05-08 14:13:19 +0200
commit0b218df07255b65b228878886f76530aa0eb0251 (patch)
treea917c347cf40c9c93ab4a54439ec176faeeda81c
parent748fb55093aae023ca4237288e8b5b41e3816522 (diff)
downloadmariadb-git-0b218df07255b65b228878886f76530aa0eb0251.tar.gz
MDEV-22483 mysql_upgrade does not use current user as default for connecting to server
correct the help text
-rw-r--r--client/mysql_upgrade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysql_upgrade.c b/client/mysql_upgrade.c
index 8633dc04b95..227b66e8c86 100644
--- a/client/mysql_upgrade.c
+++ b/client/mysql_upgrade.c
@@ -153,7 +153,7 @@ static struct my_option my_long_options[]=
&opt_systables_only, &opt_systables_only, 0,
GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
#define USER_OPT (array_elements(my_long_options) - 6)
- {"user", 'u', "User for login if not current user.", &opt_user,
+ {"user", 'u', "User for login.", &opt_user,
&opt_user, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
{"verbose", 'v', "Display more output about the process; Using it twice will print connection argument; Using it 3 times will print out all CHECK, RENAME and ALTER TABLE during the check phase.",
&opt_not_used, &opt_not_used, 0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0},