summaryrefslogtreecommitdiff
path: root/myisam/myisamchk.c
diff options
context:
space:
mode:
authorunknown <ram@gw.mysql.r18.ru>2004-11-02 13:14:07 +0400
committerunknown <ram@gw.mysql.r18.ru>2004-11-02 13:14:07 +0400
commit7e06386ae1c28079a047fb132397b1e4c0499a41 (patch)
treede731ef781f1890b2cd0c5b333efd6ddc528c44d /myisam/myisamchk.c
parent46aa022aa6cf40801518d1be2c9e8e7ffcee9928 (diff)
downloadmariadb-git-7e06386ae1c28079a047fb132397b1e4c0499a41.tar.gz
A fix (bug #6309: myisamchk compiled without debug support , --help shows vise versa
bug #6380: mysqlcheck --help prints wrong --debug msg for non-debug version). client/mysqlcheck.c: A fix (bug #6380: mysqlcheck --help prints wrong --debug msg for non-debug version). myisam/myisamchk.c: A fix (bug #6309: myisamchk compiled without debug support , --help shows vise versa).
Diffstat (limited to 'myisam/myisamchk.c')
-rw-r--r--myisam/myisamchk.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/myisam/myisamchk.c b/myisam/myisamchk.c
index 648e29e1e9e..c89abca9cad 100644
--- a/myisam/myisamchk.c
+++ b/myisam/myisamchk.c
@@ -354,8 +354,12 @@ static void usage(void)
puts("Description, check and repair of MyISAM tables.");
puts("Used without options all tables on the command will be checked for errors");
printf("Usage: %s [OPTIONS] tables[.MYI]\n", my_progname_short);
- printf("\nGlobal options:\n\
- -#, --debug=... Output debug log. Often this is 'd:t:o,filename'.\n\
+ printf("\nGlobal options:\n");
+#ifndef DBUG_OFF
+ printf("\
+ -#, --debug=... Output debug log. Often this is 'd:t:o,filename'.\n");
+#endif
+ printf("\
-?, --help Display this help and exit.\n\
-O, --set-variable var=option.\n\
Change the value of a variable. Please note that\n\