mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-6137 better help for SET/ENUM sysvars
Auto-generate the allowed list of values for enum/set/flagset options in --help output. But don't do that when the help text already has them. Also, remove lists of values from help strings of various options, where they were simply listed without any additional information.
This commit is contained in:
@@ -3597,7 +3597,7 @@ static int construct_options(MEM_ROOT *mem_root, struct st_plugin_int *tmp,
|
||||
options[0].typelib= options[1].typelib= &global_plugin_typelib;
|
||||
|
||||
strxnmov(comment, max_comment_len, "Enable or disable ", plugin_name,
|
||||
" plugin. Possible values are ON, OFF, FORCE (don't start "
|
||||
" plugin. One of: ON, OFF, FORCE (don't start "
|
||||
"if the plugin fails to load).", NullS);
|
||||
options[0].comment= comment;
|
||||
/*
|
||||
|
Reference in New Issue
Block a user