mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
monitor: Fix HMP tab completion
Commands with multiple boolean flag options (like 'info block') didn't provide correct completion because only the first one was skipped. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
e6bb31ec6f
commit
48fe86f640
1 changed files with 1 additions and 1 deletions
|
@ -4695,7 +4695,7 @@ static void monitor_find_completion_by_table(Monitor *mon,
|
|||
}
|
||||
}
|
||||
str = args[nb_args - 1];
|
||||
if (*ptype == '-' && ptype[1] != '\0') {
|
||||
while (*ptype == '-' && ptype[1] != '\0') {
|
||||
ptype = next_arg_type(ptype);
|
||||
}
|
||||
switch(*ptype) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue