diff options
Diffstat (limited to 'client/mysqladmin.cc')
-rw-r--r-- | client/mysqladmin.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/mysqladmin.cc b/client/mysqladmin.cc index 5a4690ea30e..da790bce375 100644 --- a/client/mysqladmin.cc +++ b/client/mysqladmin.cc @@ -127,7 +127,7 @@ static TYPELIB command_typelib= static struct my_option my_long_options[] = { #ifdef __NETWARE__ - {"autoclose", 'a', " Auto close the screen on exit for NetWare", + {"auto-close", OPT_AUTO_CLOSE, "Auto close the screen on exit for Netware.", 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}, #endif {"count", 'c', @@ -227,9 +227,9 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), switch(optid) { #ifdef __NETWARE__ - case 'a': - setscreenmode(SCR_AUTOCLOSE_ON_EXIT); // auto close the screen / - break; + case OPT_AUTO_CLOSE: + setscreenmode(SCR_AUTOCLOSE_ON_EXIT); + break; #endif case 'c': opt_count_iterations= 1; |