Fix device name completion for 'eject'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
52668cf7b3
commit
9f2f0bc6bc
|
@ -3059,6 +3059,9 @@ static void monitor_find_completion(const char *cmdline)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
str = args[nb_args - 1];
|
str = args[nb_args - 1];
|
||||||
|
if (*ptype == '-' && ptype[1] != '\0') {
|
||||||
|
ptype += 2;
|
||||||
|
}
|
||||||
switch(*ptype) {
|
switch(*ptype) {
|
||||||
case 'F':
|
case 'F':
|
||||||
/* file completion */
|
/* file completion */
|
||||||
|
|
Loading…
Reference in New Issue