summaryrefslogtreecommitdiff
path: root/client/mysqlshow.c
diff options
context:
space:
mode:
authorunknown <jani@a193-229-222-105.elisa-laajakaista.fi>2005-08-26 15:56:52 +0300
committerunknown <jani@a193-229-222-105.elisa-laajakaista.fi>2005-08-26 15:56:52 +0300
commit9d4a4f38d0fca880c76998e6726ca3887b122632 (patch)
treebd37457a3ede5f89be347874aa575e32bca225d0 /client/mysqlshow.c
parentab161754f591371eba2868bfa03977bcbe5b6d7e (diff)
parent7b8ab0e1cff25108f3b044189db879fd39073290 (diff)
downloadmariadb-git-9d4a4f38d0fca880c76998e6726ca3887b122632.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 BitKeeper/deleted/.del-isamchk.c~c0f59c2687d2248f: Auto merged BitKeeper/etc/config: Auto merged client/mysql.cc: Auto merged client/mysqlcheck.c: Auto merged BitKeeper/deleted/.del-pack_isam.c~43801f0df7504834: Auto merged client/mysqldump.c: Auto merged client/mysqlimport.c: Auto merged client/mysqlshow.c: Auto merged client/mysqltest.c: Auto merged extra/my_print_defaults.c: Auto merged extra/perror.c: Auto merged extra/resolve_stack_dump.c: Auto merged include/help_end.h: Auto merged include/help_start.h: Auto merged myisam/myisamchk.c: Auto merged myisam/myisamlog.c: Auto merged myisam/myisampack.c: Auto merged netware/myisamchk.def: Auto merged netware/mysql.def: Auto merged netware/mysql_test_run.c: Auto merged netware/mysqladmin.def: Auto merged netware/mysqlbinlog.def: Auto merged netware/mysqlcheck.def: Auto merged netware/mysqld_safe.c: Auto merged netware/mysqldump.def: Auto merged netware/mysqlimport.def: Auto merged netware/mysqlshow.def: Auto merged sql/ha_blackhole.cc: Auto merged sql/ha_blackhole.h: Auto merged sql/mysqld.cc: Auto merged client/client_priv.h: Merged from 4.1 client/mysqladmin.cc: Merged from 4.1 client/mysqlbinlog.cc: Merged from 4.1 mysys/charset.c: Merged from 4.1
Diffstat (limited to 'client/mysqlshow.c')
-rw-r--r--client/mysqlshow.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/client/mysqlshow.c b/client/mysqlshow.c
index ca29d2d4459..8f6be6cf70b 100644
--- a/client/mysqlshow.c
+++ b/client/mysqlshow.c
@@ -156,6 +156,10 @@ int main(int argc, char **argv)
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
{"character-sets-dir", 'c', "Directory where character sets are.",
(gptr*) &charsets_dir, (gptr*) &charsets_dir, 0, GET_STR, REQUIRED_ARG, 0,
0, 0, 0, 0, 0},
@@ -253,6 +257,11 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
char *argument)
{
switch(optid) {
+#ifdef __NETWARE__
+ case OPT_AUTO_CLOSE:
+ setscreenmode(SCR_AUTOCLOSE_ON_EXIT);
+ break;
+#endif
case 'v':
opt_verbose++;
break;