mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
* cli/cli-decode.c (add_setshow_optional_filename_cmd): Set
completer for set to filename_completer. NEWS: Mention it.
This commit is contained in:
@@ -539,11 +539,16 @@ add_setshow_optional_filename_cmd (char *name, enum command_class class,
|
||||
struct cmd_list_element **set_list,
|
||||
struct cmd_list_element **show_list)
|
||||
{
|
||||
struct cmd_list_element *set_result;
|
||||
|
||||
add_setshow_cmd_full (name, class, var_optional_filename, var,
|
||||
set_doc, show_doc, help_doc,
|
||||
set_func, show_func,
|
||||
set_list, show_list,
|
||||
NULL, NULL);
|
||||
&set_result, NULL);
|
||||
|
||||
set_cmd_completer (set_result, filename_completer);
|
||||
|
||||
}
|
||||
|
||||
/* Add element named NAME to both the set and show command LISTs (the
|
||||
|
||||
Reference in New Issue
Block a user