· 8 years ago · Feb 20, 2018, 10:28 PM
1static struct my_option my_long_options[] =
2{
3 {"all-databases", 'A',
4 "Dump all the databases. This will be same as --databases with all databases selected.",
5 &opt_alldbs, &opt_alldbs, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0,
6 0, 0},
7 {"all-tablespaces", 'Y',
8 "Dump all the tablespaces.",
9 &opt_alltspcs, &opt_alltspcs, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0,
10 0, 0},
11 {"no-tablespaces", 'y',
12 "Do not dump any tablespace information.",
13 &opt_notspcs, &opt_notspcs, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0,
14 0, 0},
15 {"add-drop-database", OPT_DROP_DATABASE, "Add a DROP DATABASE before each create.",
16 &opt_drop_database, &opt_drop_database, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0,
17 0},
18 {"add-drop-table", OPT_DROP, "Add a DROP TABLE before each create.",
19 &opt_drop, &opt_drop, 0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0,
20 0},
21 {"add-drop-trigger", 0, "Add a DROP TRIGGER before each create.",
22 &opt_drop_trigger, &opt_drop_trigger, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0,
23 0},
24 {"add-locks", OPT_LOCKS, "Add locks around INSERT statements.",
25 &opt_lock, &opt_lock, 0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0,
26 0},
27 {"allow-keywords", OPT_KEYWORDS,
28 "Allow creation of column names that are keywords.", &opt_keywords,
29 &opt_keywords, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
30 {"apply-slave-statements", OPT_MYSQLDUMP_SLAVE_APPLY,
31 "Adds 'STOP SLAVE' prior to 'CHANGE MASTER' and 'START SLAVE' to bottom of dump.",
32 &opt_slave_apply, &opt_slave_apply, 0, GET_BOOL, NO_ARG,
33 0, 0, 0, 0, 0, 0},
34 {"bind-address", 0, "IP address to bind to.",
35 (uchar**) &opt_bind_addr, (uchar**) &opt_bind_addr, 0, GET_STR,
36 REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
37 {"character-sets-dir", OPT_CHARSETS_DIR,
38 "Directory for character set files.", &charsets_dir,
39 &charsets_dir, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
40 {"comments", 'i', "Write additional information.",
41 &opt_comments, &opt_comments, 0, GET_BOOL, NO_ARG,
42 1, 0, 0, 0, 0, 0},
43 {"compatible", OPT_COMPATIBLE,
44 "Change the dump to be compatible with a given mode. By default tables "
45 "are dumped in a format optimized for MySQL. Legal modes are: ansi, "
46 "mysql323, mysql40, postgresql, oracle, mssql, db2, maxdb, no_key_options, "
47 "no_table_options, no_field_options. One can use several modes separated "
48 "by commas. Note: Requires MySQL server version 4.1.0 or higher. "
49 "This option is ignored with earlier server versions.",
50 &opt_compatible_mode_str, &opt_compatible_mode_str, 0,
51 GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
52 {"compact", OPT_COMPACT,
53 "Give less verbose output (useful for debugging). Disables structure "
54 "comments and header/footer constructs. Enables options --skip-add-"
55 "drop-table --skip-add-locks --skip-comments --skip-disable-keys "
56 "--skip-set-charset.",
57 &opt_compact, &opt_compact, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
58 {"complete-insert", 'c', "Use complete insert statements.",
59 &opt_complete_insert, &opt_complete_insert, 0, GET_BOOL,
60 NO_ARG, 0, 0, 0, 0, 0, 0},
61 {"compress", 'C', "Use compression in server/client protocol.",
62 &opt_compress, &opt_compress, 0, GET_BOOL, NO_ARG, 0, 0, 0,
63 0, 0, 0},
64 {"create-options", 'a',
65 "Include all MySQL specific create options.",
66 &create_options, &create_options, 0, GET_BOOL, NO_ARG, 1,
67 0, 0, 0, 0, 0},
68 {"databases", 'B',
69 "Dump several databases. Note the difference in usage; in this case no tables are given. All name arguments are regarded as database names. 'USE db_name;' will be included in the output.",
70 &opt_databases, &opt_databases, 0, GET_BOOL, NO_ARG, 0, 0,
71 0, 0, 0, 0},
72#ifdef DBUG_OFF
73 {"debug", '#', "This is a non-debug version. Catch this and exit.",
74 0,0, 0, GET_DISABLED, OPT_ARG, 0, 0, 0, 0, 0, 0},
75 {"debug-check", OPT_DEBUG_CHECK, "This is a non-debug version. Catch this and exit.",
76 0, 0, 0,
77 GET_DISABLED, NO_ARG, 0, 0, 0, 0, 0, 0},
78 {"debug-info", OPT_DEBUG_INFO, "This is a non-debug version. Catch this and exit.", 0,
79 0, 0, GET_DISABLED, NO_ARG, 0, 0, 0, 0, 0, 0},
80#else
81 {"debug", '#', "Output debug log.", &default_dbug_option,
82 &default_dbug_option, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0},
83 {"debug-check", OPT_DEBUG_CHECK, "Check memory and open file usage at exit.",
84 &debug_check_flag, &debug_check_flag, 0,
85 GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
86 {"debug-info", OPT_DEBUG_INFO, "Print some debug info at exit.",
87 &debug_info_flag, &debug_info_flag,
88 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
89#endif
90 {"default-character-set", OPT_DEFAULT_CHARSET,
91 "Set the default character set.", &default_charset,
92 &default_charset, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
93 {"delete-master-logs", OPT_DELETE_MASTER_LOGS,
94 "Delete logs on master after backup. This automatically enables --master-data.",
95 &opt_delete_master_logs, &opt_delete_master_logs, 0,
96 GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
97 {"disable-keys", 'K',
98 "'/*!40000 ALTER TABLE tb_name DISABLE KEYS */; and '/*!40000 ALTER "
99 "TABLE tb_name ENABLE KEYS */; will be put in the output.", &opt_disable_keys,
100 &opt_disable_keys, 0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0},
101 {"dump-slave", OPT_MYSQLDUMP_SLAVE_DATA,
102 "This causes the binary log position and filename of the master to be "
103 "appended to the dumped data output. Setting the value to 1, will print"
104 "it as a CHANGE MASTER command in the dumped data output; if equal"
105 " to 2, that command will be prefixed with a comment symbol. "
106 "This option will turn --lock-all-tables on, unless "
107 "--single-transaction is specified too (in which case a "
108 "global read lock is only taken a short time at the beginning of the dump "
109 "- don't forget to read about --single-transaction below). In all cases "
110 "any action on logs will happen at the exact moment of the dump."
111 "Option automatically turns --lock-tables off.",
112 &opt_slave_data, &opt_slave_data, 0,
113 GET_UINT, OPT_ARG, 0, 0, MYSQL_OPT_SLAVE_DATA_COMMENTED_SQL, 0, 0, 0},
114 {"events", 'E', "Dump events.",
115 &opt_events, &opt_events, 0, GET_BOOL,
116 NO_ARG, 0, 0, 0, 0, 0, 0},
117 {"extended-insert", 'e',
118 "Use multiple-row INSERT syntax that include several VALUES lists.",
119 &extended_insert, &extended_insert, 0, GET_BOOL, NO_ARG,
120 1, 0, 0, 0, 0, 0},
121 {"fields-terminated-by", OPT_FTB,
122 "Fields in the output file are terminated by the given string.",
123 &fields_terminated, &fields_terminated, 0,
124 GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
125 {"fields-enclosed-by", OPT_ENC,
126 "Fields in the output file are enclosed by the given character.",
127 &enclosed, &enclosed, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0 ,0, 0},
128 {"fields-optionally-enclosed-by", OPT_O_ENC,
129 "Fields in the output file are optionally enclosed by the given character.",
130 &opt_enclosed, &opt_enclosed, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0 ,0, 0},
131 {"fields-escaped-by", OPT_ESC,
132 "Fields in the output file are escaped by the given character.",
133 &escaped, &escaped, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
134 {"flush-logs", 'F', "Flush logs file in server before starting dump. "
135 "Note that if you dump many databases at once (using the option "
136 "--databases= or --all-databases), the logs will be flushed for "
137 "each database dumped. The exception is when using --lock-all-tables "
138 "or --master-data: "
139 "in this case the logs will be flushed only once, corresponding "
140 "to the moment all tables are locked. So if you want your dump and "
141 "the log flush to happen at the same exact moment you should use "
142 "--lock-all-tables or --master-data with --flush-logs.",
143 &flush_logs, &flush_logs, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0,
144 0, 0},
145 {"flush-privileges", OPT_ESC, "Emit a FLUSH PRIVILEGES statement "
146 "after dumping the mysql database. This option should be used any "
147 "time the dump contains the mysql database and any other database "
148 "that depends on the data in the mysql database for proper restore. ",
149 &flush_privileges, &flush_privileges, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0,
150 0, 0},
151 {"force", 'f', "Continue even if we get an SQL error.",
152 &opt_force, &opt_force, 0, GET_BOOL, NO_ARG,
153 0, 0, 0, 0, 0, 0},
154 {"help", '?', "Display this help message and exit.", 0, 0, 0, GET_NO_ARG,
155 NO_ARG, 0, 0, 0, 0, 0, 0},
156 {"hex-blob", OPT_HEXBLOB, "Dump binary strings (BINARY, "
157 "VARBINARY, BLOB) in hexadecimal format.",
158 &opt_hex_blob, &opt_hex_blob, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
159 {"host", 'h', "Connect to host.", ¤t_host,
160 ¤t_host, 0, GET_STR_ALLOC, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
161 {"ignore-error", OPT_MYSQLDUMP_IGNORE_ERROR, "A comma-separated list of "
162 "error numbers to be ignored if encountered during dump.",
163 &opt_ignore_error, &opt_ignore_error, 0, GET_STR_ALLOC, REQUIRED_ARG, 0,
164 0, 0, 0, 0, 0},
165 {"ignore-table", OPT_IGNORE_TABLE,
166 "Do not dump the specified table. To specify more than one table to ignore, "
167 "use the directive multiple times, once for each table. Each table must "
168 "be specified with both database and table names, e.g., "
169 "--ignore-table=database.table.",
170 0, 0, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
171 {"include-master-host-port", OPT_MYSQLDUMP_INCLUDE_MASTER_HOST_PORT,
172 "Adds 'MASTER_HOST=<host>, MASTER_PORT=<port>' to 'CHANGE MASTER TO..' "
173 "in dump produced with --dump-slave.", &opt_include_master_host_port,
174 &opt_include_master_host_port, 0, GET_BOOL, NO_ARG,
175 0, 0, 0, 0, 0, 0},
176 {"insert-ignore", OPT_INSERT_IGNORE, "Insert rows with INSERT IGNORE.",
177 &opt_ignore, &opt_ignore, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0,
178 0, 0},
179 {"lines-terminated-by", OPT_LTB,
180 "Lines in the output file are terminated by the given string.",
181 &lines_terminated, &lines_terminated, 0, GET_STR,
182 REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
183 {"lock-all-tables", 'x', "Locks all tables across all databases. This "
184 "is achieved by taking a global read lock for the duration of the whole "
185 "dump. Automatically turns --single-transaction and --lock-tables off.",
186 &opt_lock_all_tables, &opt_lock_all_tables, 0, GET_BOOL, NO_ARG,
187 0, 0, 0, 0, 0, 0},
188 {"lock-tables", 'l', "Lock all tables for read.", &lock_tables,
189 &lock_tables, 0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0},
190 {"log-error", OPT_ERROR_LOG_FILE, "Append warnings and errors to given file.",
191 &log_error_file, &log_error_file, 0, GET_STR,
192 REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
193 {"master-data", OPT_MASTER_DATA,
194 "This causes the binary log position and filename to be appended to the "
195 "output. If equal to 1, will print it as a CHANGE MASTER command; if equal"
196 " to 2, that command will be prefixed with a comment symbol. "
197 "This option will turn --lock-all-tables on, unless "
198 "--single-transaction is specified too (in which case a "
199 "global read lock is only taken a short time at the beginning of the dump; "
200 "don't forget to read about --single-transaction below). In all cases, "
201 "any action on logs will happen at the exact moment of the dump. "
202 "Option automatically turns --lock-tables off.",
203 &opt_master_data, &opt_master_data, 0,
204 GET_UINT, OPT_ARG, 0, 0, MYSQL_OPT_MASTER_DATA_COMMENTED_SQL, 0, 0, 0},
205 {"max_allowed_packet", OPT_MAX_ALLOWED_PACKET,
206 "The maximum packet length to send to or receive from server.",
207 &opt_max_allowed_packet, &opt_max_allowed_packet, 0,
208 GET_ULONG, REQUIRED_ARG, 24*1024*1024, 4096,
209 (longlong) 2L*1024L*1024L*1024L, MALLOC_OVERHEAD, 1024, 0},
210 {"net_buffer_length", OPT_NET_BUFFER_LENGTH,
211 "The buffer size for TCP/IP and socket communication.",
212 &opt_net_buffer_length, &opt_net_buffer_length, 0,
213 GET_ULONG, REQUIRED_ARG, 1024*1024L-1025, 4096, 16*1024L*1024L,
214 MALLOC_OVERHEAD-1024, 1024, 0},
215 {"no-autocommit", OPT_AUTOCOMMIT,
216 "Wrap tables with autocommit/commit statements.",
217 &opt_autocommit, &opt_autocommit, 0, GET_BOOL, NO_ARG,
218 0, 0, 0, 0, 0, 0},
219 {"no-create-db", 'n',
220 "Suppress the CREATE DATABASE ... IF EXISTS statement that normally is "
221 "output for each dumped database if --all-databases or --databases is "
222 "given.",
223 &opt_create_db, &opt_create_db, 0,
224 GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
225 {"no-create-info", 't', "Don't write table creation info.",
226 &opt_no_create_info, &opt_no_create_info, 0, GET_BOOL,
227 NO_ARG, 0, 0, 0, 0, 0, 0},
228 {"no-data", 'd', "No row information.", &opt_no_data,
229 &opt_no_data, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
230 {"no-set-names", 'N', "Same as --skip-set-charset.",
231 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
232 {"opt", OPT_OPTIMIZE,
233 "Same as --add-drop-table, --add-locks, --create-options, --quick, --extended-insert, --lock-tables, --set-charset, and --disable-keys. Enabled by default, disable with --skip-opt.",
234 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
235 {"order-by-primary", OPT_ORDER_BY_PRIMARY,
236 "Sorts each table's rows by primary key, or first unique key, if such a key exists. Useful when dumping a MyISAM table to be loaded into an InnoDB table, but will make the dump itself take considerably longer.",
237 &opt_order_by_primary, &opt_order_by_primary, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
238 {"password", 'p',
239 "Password to use when connecting to server. If password is not given it's solicited on the tty.",
240 0, 0, 0, GET_PASSWORD, OPT_ARG, 0, 0, 0, 0, 0, 0},
241#ifdef _WIN32
242 {"pipe", 'W', "Use named pipes to connect to server.", 0, 0, 0, GET_NO_ARG,
243 NO_ARG, 0, 0, 0, 0, 0, 0},
244#endif
245 {"port", 'P', "Port number to use for connection.", &opt_mysql_port,
246 &opt_mysql_port, 0, GET_UINT, REQUIRED_ARG, 0, 0, 0, 0, 0,
247 0},
248 {"protocol", OPT_MYSQL_PROTOCOL,
249 "The protocol to use for connection (tcp, socket, pipe, memory).",
250 0, 0, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
251 {"quick", 'q', "Don't buffer query, dump directly to stdout.",
252 &quick, &quick, 0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0},
253 {"quote-names",'Q', "Quote table and column names with backticks (`).",
254 &opt_quoted, &opt_quoted, 0, GET_BOOL, NO_ARG, 1, 0, 0, 0,
255 0, 0},
256 {"replace", OPT_MYSQL_REPLACE_INTO, "Use REPLACE INTO instead of INSERT INTO.",
257 &opt_replace_into, &opt_replace_into, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0,
258 0, 0},
259 {"result-file", 'r',
260 "Direct output to a given file. This option should be used in systems "
261 "(e.g., DOS, Windows) that use carriage-return linefeed pairs (\\r\\n) "
262 "to separate text lines. This option ensures that only a single newline "
263 "is used.", 0, 0, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
264 {"routines", 'R', "Dump stored routines (functions and procedures).",
265 &opt_routines, &opt_routines, 0, GET_BOOL,
266 NO_ARG, 0, 0, 0, 0, 0, 0},
267 {"set-charset", OPT_SET_CHARSET,
268 "Add 'SET NAMES default_character_set' to the output.",
269 &opt_set_charset, &opt_set_charset, 0, GET_BOOL, NO_ARG, 1,
270 0, 0, 0, 0, 0},
271 {"set-gtid-purged", OPT_SET_GTID_PURGED,
272 "Add 'SET @@GLOBAL.GTID_PURGED' to the output. Possible values for "
273 "this option are ON, OFF and AUTO. If ON is used and GTIDs "
274 "are not enabled on the server, an error is generated. If OFF is "
275 "used, this option does nothing. If AUTO is used and GTIDs are enabled "
276 "on the server, 'SET @@GLOBAL.GTID_PURGED' is added to the output. "
277 "If GTIDs are disabled, AUTO does nothing. If no value is supplied "
278 "then the default (AUTO) value will be considered.",
279 0, 0, 0, GET_STR, OPT_ARG,
280 0, 0, 0, 0, 0, 0},
281#if defined (_WIN32) && !defined (EMBEDDED_LIBRARY)
282 {"shared-memory-base-name", OPT_SHARED_MEMORY_BASE_NAME,
283 "Base name of shared memory.", &shared_memory_base_name, &shared_memory_base_name,
284 0, GET_STR_ALLOC, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
285#endif
286 /*
287 Note that the combination --single-transaction --master-data
288 will give bullet-proof binlog position only if server >=4.1.3. That's the
289 old "FLUSH TABLES WITH READ LOCK does not block commit" fixed bug.
290 */
291 {"single-transaction", OPT_TRANSACTION,
292 "Creates a consistent snapshot by dumping all tables in a single "
293 "transaction. Works ONLY for tables stored in storage engines which "
294 "support multiversioning (currently only InnoDB does); the dump is NOT "
295 "guaranteed to be consistent for other storage engines. "
296 "While a --single-transaction dump is in process, to ensure a valid "
297 "dump file (correct table contents and binary log position), no other "
298 "connection should use the following statements: ALTER TABLE, DROP "
299 "TABLE, RENAME TABLE, TRUNCATE TABLE, as consistent snapshot is not "
300 "isolated from them. Option automatically turns off --lock-tables.",
301 &opt_single_transaction, &opt_single_transaction, 0,
302 GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
303 {"dump-date", OPT_DUMP_DATE, "Put a dump date to the end of the output.",
304 &opt_dump_date, &opt_dump_date, 0,
305 GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0},
306 {"skip-opt", OPT_SKIP_OPTIMIZATION,
307 "Disable --opt. Disables --add-drop-table, --add-locks, --create-options, --quick, --extended-insert, --lock-tables, --set-charset, and --disable-keys.",
308 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
309 {"socket", 'S', "The socket file to use for connection.",
310 &opt_mysql_unix_port, &opt_mysql_unix_port, 0,
311 GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
312 {"secure-auth", OPT_SECURE_AUTH, "Refuse client connecting to server if it"
313 " uses old (pre-4.1.1) protocol. Deprecated. Always TRUE",
314 &opt_secure_auth, &opt_secure_auth, 0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0},
315#include <sslopt-longopts.h>
316 {"tab",'T',
317 "Create tab-separated textfile for each table to given path. (Create .sql "
318 "and .txt files.) NOTE: This only works if mysqldump is run on the same "
319 "machine as the mysqld server.",
320 &path, &path, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
321 {"tables", OPT_TABLES, "Overrides option --databases (-B).",
322 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
323 {"triggers", OPT_TRIGGERS, "Dump triggers for each dumped table.",
324 &opt_dump_triggers, &opt_dump_triggers, 0, GET_BOOL,
325 NO_ARG, 1, 0, 0, 0, 0, 0},
326 {"tz-utc", OPT_TZ_UTC,
327 "SET TIME_ZONE='+00:00' at top of dump to allow dumping of TIMESTAMP data when a server has data in different time zones or data is being moved between servers with different time zones.",
328 &opt_tz_utc, &opt_tz_utc, 0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0},
329 {"user", 'u', "User for login if not current user.",
330 ¤t_user, ¤t_user, 0, GET_STR, REQUIRED_ARG,
331 0, 0, 0, 0, 0, 0},
332 {"verbose", 'v', "Print info about the various stages.",
333 &verbose, &verbose, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
334 {"version",'V', "Output version information and exit.", 0, 0, 0,
335 GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
336 {"where", 'w', "Dump only selected records. Quotes are mandatory.",
337 &where, &where, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
338 {"xml", 'X', "Dump a database as well formed XML.", 0, 0, 0, GET_NO_ARG,
339 NO_ARG, 0, 0, 0, 0, 0, 0},
340 {"plugin_dir", OPT_PLUGIN_DIR, "Directory for client-side plugins.",
341 &opt_plugin_dir, &opt_plugin_dir, 0,
342 GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
343 {"default_auth", OPT_DEFAULT_AUTH,
344 "Default authentication client-side plugin to use.",
345 &opt_default_auth, &opt_default_auth, 0,
346 GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
347 {"enable_cleartext_plugin", OPT_ENABLE_CLEARTEXT_PLUGIN,
348 "Enable/disable the clear text authentication plugin.",
349 &opt_enable_cleartext_plugin, &opt_enable_cleartext_plugin,
350 0, GET_BOOL, OPT_ARG, 0, 0, 0, 0, 0, 0},
351 {0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}
352};