diff options
author | jani@a193-229-222-105.elisa-laajakaista.fi <> | 2004-11-29 18:32:52 +0200 |
---|---|---|
committer | jani@a193-229-222-105.elisa-laajakaista.fi <> | 2004-11-29 18:32:52 +0200 |
commit | 57b30a1eef38d247179f8632f3f3ba7390afff9d (patch) | |
tree | 980f26ce326716d2c2f6e98be490d42e31dd7c2c /client/mysqladmin.cc | |
parent | 07417cd309a67ad157e3154cd5c7c02a01833b1b (diff) | |
download | mariadb-git-57b30a1eef38d247179f8632f3f3ba7390afff9d.tar.gz |
Applied some patches for Netware.
Diffstat (limited to 'client/mysqladmin.cc')
-rw-r--r-- | client/mysqladmin.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/client/mysqladmin.cc b/client/mysqladmin.cc index 8491d0df7b5..fe450868342 100644 --- a/client/mysqladmin.cc +++ b/client/mysqladmin.cc @@ -125,6 +125,10 @@ static TYPELIB command_typelib= static struct my_option my_long_options[] = { +#ifdef __NETWARE__ + {"autoclose", 'a', " 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', "Number of iterations to make. This works with -i (--sleep) only.", (gptr*) &nr_iterations, (gptr*) &nr_iterations, 0, GET_UINT, @@ -218,6 +222,11 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), int error = 0; switch(optid) { +#ifdef __NETWARE__ + case 'a': + setscreenmode(SCR_AUTOCLOSE_ON_EXIT); // auto close the screen / + break; +#endif case 'c': opt_count_iterations= 1; break; |