46
46
searched for a file of this name (and standard filename extensions are
47
47
added if the file has no extension)
49
{"config-file", 'c', "Deprecated, please use --defaults-file instead. Name of config file to read; if no extension is given, default extension (e.g., .ini or .cnf) will be added",
50
(uchar**) &config_file, (uchar**) &config_file, 0, GET_STR, REQUIRED_ARG,
49
{"config-file", 'c', "Deprecated, please use --defaults-file instead. "
50
"Name of config file to read; if no extension is given, default "
51
"extension (e.g., .ini or .cnf) will be added",
52
&config_file, &config_file, 0, GET_STR, REQUIRED_ARG,
53
55
{"debug", '#', "This is a non-debug version. Catch this and exit",
54
56
0,0, 0, GET_DISABLED, OPT_ARG, 0, 0, 0, 0, 0, 0},
56
{"debug", '#', "Output debug log", (uchar**) &default_dbug_option,
57
(uchar**) &default_dbug_option, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0},
58
{"debug", '#', "Output debug log", &default_dbug_option,
59
&default_dbug_option, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0},
59
{"defaults-file", 'c', "Like --config-file, except: if first option, then read this file only, do not read global or per-user config files; should be the first option",
60
(uchar**) &config_file, (uchar**) &config_file, 0, GET_STR, REQUIRED_ARG,
61
{"defaults-file", 'c', "Like --config-file, except: if first option, "
62
"then read this file only, do not read global or per-user config "
63
"files; should be the first option",
64
&config_file, &config_file, 0, GET_STR, REQUIRED_ARG,
62
66
{"defaults-extra-file", 'e',
63
"Read this file after the global config file and before the config file in the users home directory; should be the first option",
64
(uchar**) &my_defaults_extra_file, (uchar**) &my_defaults_extra_file, 0,
67
"Read this file after the global config file and before the config "
68
"file in the users home directory; should be the first option",
69
&my_defaults_extra_file, &my_defaults_extra_file, 0,
65
70
GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
66
71
{"defaults-group-suffix", 'g',
67
72
"In addition to the given groups, read also groups with this suffix",
68
(uchar**) &my_defaults_group_suffix, (uchar**) &my_defaults_group_suffix,
73
&my_defaults_group_suffix, &my_defaults_group_suffix,
69
74
0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
70
75
{"extra-file", 'e',
71
76
"Deprecated. Synonym for --defaults-extra-file.",
72
(uchar**) &my_defaults_extra_file,
73
(uchar**) &my_defaults_extra_file, 0, GET_STR,
77
&my_defaults_extra_file,
78
&my_defaults_extra_file, 0, GET_STR,
74
79
REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
75
80
{"no-defaults", 'n', "Return an empty string (useful for scripts).",
76
81
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},