Fix device name completion for 'eject'

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2009-08-23 20:10:28 +00:00
parent 4445b0a624
commit 2a1704a71d

View File

@ -3062,6 +3062,9 @@ static void monitor_find_completion(const char *cmdline)
}
}
str = args[nb_args - 1];
if (*ptype == '-' && ptype[1] != '\0') {
ptype += 2;
}
switch(*ptype) {
case 'F':
/* file completion */