summaryrefslogtreecommitdiff
path: root/client/mysqlshow.c
diff options
context:
space:
mode:
authorjani@a193-229-222-105.elisa-laajakaista.fi <>2005-08-24 22:03:34 +0300
committerjani@a193-229-222-105.elisa-laajakaista.fi <>2005-08-24 22:03:34 +0300
commitfe977b0cd0f2cbabd0a3804cfd83a02698601ad7 (patch)
treec0c34797bba5e900d1bd182f5a096c63abba60d1 /client/mysqlshow.c
parent9f72d504b42d0e944bbb84a235075a29696f1358 (diff)
downloadmariadb-git-fe977b0cd0f2cbabd0a3804cfd83a02698601ad7.tar.gz
Several fixes for Netware.
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 1a9aec02955..35afc1f5780 100644
--- a/client/mysqlshow.c
+++ b/client/mysqlshow.c
@@ -138,6 +138,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},
@@ -218,6 +222,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;