summaryrefslogtreecommitdiff
path: root/client/mysqlmanagerc.c
diff options
context:
space:
mode:
authorunknown <jani@hynda.(none)>2002-05-22 20:45:19 +0300
committerunknown <jani@hynda.(none)>2002-05-22 20:45:19 +0300
commitebb98af7308f9071da9761e17d8610c3c73c5600 (patch)
tree2be14c2be925f02c196185efc9cf02adf8a32c35 /client/mysqlmanagerc.c
parent6a97c5912f6d28dd0aee73fd62f33a1a0511edc7 (diff)
downloadmariadb-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 'client/mysqlmanagerc.c')
-rw-r--r--client/mysqlmanagerc.c4
1 files changed, 2 insertions, 2 deletions
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);
}