diff options
author | jani@hynda.(none) <> | 2002-05-22 20:45:19 +0300 |
---|---|---|
committer | jani@hynda.(none) <> | 2002-05-22 20:45:19 +0300 |
commit | c66162b464769a482424a4b600851dfc0874ac3d (patch) | |
tree | 2be14c2be925f02c196185efc9cf02adf8a32c35 /client | |
parent | 475bc6c3be03befa7091d92fefea681df9b927ba (diff) | |
download | mariadb-git-c66162b464769a482424a4b600851dfc0874ac3d.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
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqlbinlog.cc | 3 | ||||
-rw-r--r-- | client/mysqlmanager-pwgen.c | 3 | ||||
-rw-r--r-- | client/mysqlmanagerc.c | 4 | ||||
-rw-r--r-- | client/mysqltest.c | 4 |
4 files changed, 6 insertions, 8 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index a213f328cb5..04162faab8f 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -125,7 +125,7 @@ static void die(const char* fmt, ...) static void print_version() { - printf("%s Ver 2.0 for %s at %s\n", my_progname, SYSTEM_TYPE, MACHINE_TYPE); + printf("%s Ver 2.1 for %s at %s\n", my_progname, SYSTEM_TYPE, MACHINE_TYPE); } @@ -141,7 +141,6 @@ Dumps a MySQL binary log in a format usable for viewing or for pipeing to\n\ the mysql command line client\n\n"); printf("Usage: %s [options] log-files\n", my_progname); my_print_help(my_long_options); - putchar('\n'); my_print_variables(my_long_options); } 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); } diff --git a/client/mysqlmanagerc.c b/client/mysqlmanagerc.c index 4acd33cf18a..82b70ed1b44 100644 --- a/client/mysqlmanagerc.c +++ b/client/mysqlmanagerc.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_CLIENT_VERSION "1.2" +#define MANAGER_CLIENT_VERSION "1.3" #include <my_global.h> #include <mysql.h> @@ -93,7 +93,7 @@ void usage() printf("Command-line client for MySQL manager daemon.\n\n"); printf("Usage: %s [OPTIONS] < command_file\n", my_progname); my_print_help(my_long_options); - printf(" --no-defaults Don't read default options from any options file.\n\n"); + printf(" --no-defaults Don't read default options from any options file.\n"); my_print_variables(my_long_options); } diff --git a/client/mysqltest.c b/client/mysqltest.c index 7c20d9bca7b..513c0add776 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -42,7 +42,7 @@ **********************************************************************/ -#define MTEST_VERSION "1.20" +#define MTEST_VERSION "1.21" #include <my_global.h> #include <mysql_embed.h> @@ -1873,7 +1873,7 @@ void usage() printf("Runs a test against the mysql server and compares output with a results file.\n\n"); printf("Usage: %s [OPTIONS] [database] < test_file\n", my_progname); my_print_help(my_long_options); - printf(" --no-defaults Don't read default options from any options file.\n\n"); + printf(" --no-defaults Don't read default options from any options file.\n"); my_print_variables(my_long_options); } |