summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2002-04-23 09:17:00 -0600
committerunknown <sasha@mysql.sashanet.com>2002-04-23 09:17:00 -0600
commit4beb2fb882bbe290e59c332a6b9cb95932fe23b3 (patch)
tree523979f84d28cb7eb887dbb0afe77bec7cac3fc7
parentb713fd90d468f9daac4ac2be13e3be2e5d6a571d (diff)
downloadmariadb-git-4beb2fb882bbe290e59c332a6b9cb95932fe23b3.tar.gz
mysqlbinlog bug fixed
client/mysqlbinlog.cc: fixed options bug. Amazing we've had it there for that long
-rw-r--r--client/mysqlbinlog.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc
index 3d30283d13a..145c8b847ff 100644
--- a/client/mysqlbinlog.cc
+++ b/client/mysqlbinlog.cc
@@ -54,6 +54,7 @@ static struct option long_options[] =
{"table", required_argument, 0, 't'},
{"user", required_argument, 0, 'u'},
{"version", no_argument, 0, 'V'},
+ {0,0,0,0}
};
void sql_print_error(const char *format,...);
@@ -102,15 +103,16 @@ static void die(const char* fmt, ...)
static void print_version()
{
- printf("%s Ver 1.7 for %s at %s\n",my_progname,SYSTEM_TYPE, MACHINE_TYPE);
+ printf("%s Ver 1.8 for %s at %s\n",my_progname,SYSTEM_TYPE, MACHINE_TYPE);
}
static void usage()
{
print_version();
- puts("By Sasha, for your professional use\n\
-This software comes with NO WARRANTY: see the file PUBLIC for details\n");
+ puts("By Monty and Sasha, for your professional use\n\
+This software comes with NO WARRANTY: This is free software,\n\
+and you are welcome to modify and redistribute it under the GPL license\n");
printf("\
Dumps a MySQL binary log in a format usable for viewing or for pipeing to\n\