diff options
author | jani@a193-229-222-105.elisa-laajakaista.fi <> | 2005-08-26 15:56:52 +0300 |
---|---|---|
committer | jani@a193-229-222-105.elisa-laajakaista.fi <> | 2005-08-26 15:56:52 +0300 |
commit | 7b7188cea65ace20e16b0defd278f17d37743c99 (patch) | |
tree | bd37457a3ede5f89be347874aa575e32bca225d0 /client/mysqlbinlog.cc | |
parent | 78a0585cea4d6369e29c0ab306799f823dac6636 (diff) | |
parent | 6b4baf48a503e86e065c8ced36a0e50103be919b (diff) | |
download | mariadb-git-7b7188cea65ace20e16b0defd278f17d37743c99.tar.gz |
Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0
Diffstat (limited to 'client/mysqlbinlog.cc')
-rw-r--r-- | client/mysqlbinlog.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index d074fa19122..fb9ed3af70c 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -636,6 +636,11 @@ end: static struct my_option my_long_options[] = { + +#ifdef __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 /* mysqlbinlog needs charsets knowledge, to be able to convert a charset number found in binlog to a charset name (to be able to print things @@ -830,6 +835,11 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), { bool tty_password=0; switch (optid) { +#ifdef __NETWARE__ + case OPT_AUTO_CLOSE: + setscreenmode(SCR_AUTOCLOSE_ON_EXIT); + break; +#endif #ifndef DBUG_OFF case '#': DBUG_PUSH(argument ? argument : default_dbug_option); |