提交 9f2f0bc6 编写于 作者: B Blue Swirl 提交者: Anthony Liguori

Fix device name completion for 'eject'

Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 52668cf7
......@@ -3059,6 +3059,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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册