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 | 7baef26c8015b3ec5b5037782e88ca34291c19f6 (patch) | |
tree | 2be14c2be925f02c196185efc9cf02adf8a32c35 /client/mysqlmanager-pwgen.c | |
parent | 96d9a73945c7a3534a61d62960ed496af172dd6b (diff) | |
download | mariadb-git-7baef26c8015b3ec5b5037782e88ca34291c19f6.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 'client/mysqlmanager-pwgen.c')
-rw-r--r-- | client/mysqlmanager-pwgen.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/mysqlmanager-pwgen.c b/client/mysqlmanager-pwgen.c index db8436c876c..fef5cdf6661 100644 --- a/client/mysqlmanager-pwgen.c +++ b/client/mysqlmanager-pwgen.c @@ -14,7 +14,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#define MANAGER_PWGEN_VERSION "1.1" +#define MANAGER_PWGEN_VERSION "1.2" #include <my_global.h> #include <m_ctype.h> @@ -72,7 +72,6 @@ void usage() printf("Generates a password file to be used by mysqltest.\n\n"); printf("Usage: %s [OPTIONS]\n", my_progname); my_print_help(my_long_options); - putchar('\n'); my_print_variables(my_long_options); } |