From 587387f5d0af6a4381c99bc3da4f87bae63f5cef Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 16 Dec 2000 01:17:13 +0200 Subject: Configure updates Fixed my_print_defaults --no-defaults Docs/manual.texi: Updated changelog acinclude.m4: Patches for large file support configure.in: New TCP libwrap extra/my_print_defaults.c: Fixed that --no-defaults include/my_pthread.h: Fixes for Tru64 ltconfig: Fixes for Tru64 ltmain.sh: Fixes for Tru64 mysql-test/README: Fixed types mysql-test/mysql-test-run.sh: Changed to long options --- extra/my_print_defaults.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extra') diff --git a/extra/my_print_defaults.c b/extra/my_print_defaults.c index ad15793617b..316d91ef7b3 100644 --- a/extra/my_print_defaults.c +++ b/extra/my_print_defaults.c @@ -34,7 +34,7 @@ static struct option long_options[] = {"defaults-file", required_argument, 0, 'c'}, {"defaults-extra-file", required_argument, 0, 'e'}, {"extra-file", required_argument, 0, 'e'}, - {"no-defaults", no_argument, 0, 'd'}, + {"no-defaults", no_argument, 0, 'n'}, {"help", no_argument, 0, '?'}, {"version", no_argument, 0, 'V'}, {0, 0, 0, 0} @@ -42,7 +42,7 @@ static struct option long_options[] = static void usage(my_bool version) { - printf("%s Ver 1.2 for %s at %s\n",my_progname,SYSTEM_TYPE, + printf("%s Ver 1.3 for %s at %s\n",my_progname,SYSTEM_TYPE, MACHINE_TYPE); if (version) return; @@ -55,7 +55,7 @@ static void usage(my_bool version) -e, --extra-file=#, --defaults-extra-file=#\n\ Read this file after the global /etc config file and\n\ before the config file in the users home directory.\n\ - --no-defaults Return an empty string (useful for scripts)\n\ + -n, --no-defaults Return an empty string (useful for scripts)\n\ -?, --help Display this help message and exit.\n\ -V, --version Output version information and exit.\n", config_file); @@ -66,7 +66,7 @@ static int get_options(int *argc,char ***argv) { int c,option_index; - while ((c=getopt_long(*argc,*argv,"c:e:V?I", + while ((c=getopt_long(*argc,*argv,"nc:e:V?I", long_options, &option_index)) != EOF) { switch (c) { -- cgit v1.2.1