diff options
author | unknown <jani@hynda.(none)> | 2002-05-22 20:45:19 +0300 |
---|---|---|
committer | unknown <jani@hynda.(none)> | 2002-05-22 20:45:19 +0300 |
commit | ebb98af7308f9071da9761e17d8610c3c73c5600 (patch) | |
tree | 2be14c2be925f02c196185efc9cf02adf8a32c35 /myisam | |
parent | 6a97c5912f6d28dd0aee73fd62f33a1a0511edc7 (diff) | |
download | mariadb-git-ebb98af7308f9071da9761e17d8610c3c73c5600.tar.gz |
my_getopt:
- some minor bugfixes
- made code more readable
- support for printing GET_BOOL type options in my_print_variables(),
value is either TRUE or FALSE
client/mysqlbinlog.cc:
Changes in my_getopt my_print_variables()
client/mysqlmanager-pwgen.c:
Changes in my_getopt my_print_variables()
client/mysqlmanagerc.c:
Changes in my_getopt my_print_variables()
client/mysqltest.c:
Changes in my_getopt my_print_variables()
myisam/myisamchk.c:
Changes in my_getopt my_print_variables()
mysys/my_getopt.c:
Made code more readable.
Fixed bug in my_print_variables().
Added printing for options whether they are enabled or not
FALSE / TRUE. This also separates GET_BOOL type options from
variables that can actually take values as an argument.
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/myisamchk.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/myisam/myisamchk.c b/myisam/myisamchk.c index 952e91e6c6e..0cd3e5f3139 100644 --- a/myisam/myisamchk.c +++ b/myisam/myisamchk.c @@ -292,7 +292,7 @@ static struct my_option my_long_options[] = static void print_version(void) { - printf("%s Ver 2.4 for %s at %s\n", my_progname, SYSTEM_TYPE, + printf("%s Ver 2.5 for %s at %s\n", my_progname, SYSTEM_TYPE, MACHINE_TYPE); } @@ -380,7 +380,6 @@ static void usage(void) (It may be VERY slow to do a sort the first time!)"); print_defaults("my", load_default_groups); - putchar('\n'); my_print_variables(my_long_options); } |