mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
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
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user