Fix device name completion for 'eject'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
4445b0a624
commit
2a1704a71d
@ -3062,6 +3062,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…
x
Reference in New Issue
Block a user