projects
/
users
/
dwmw2
/
qemu.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52668cf
)
Fix device name completion for 'eject'
author
Blue Swirl <blauwirbel@gmail.com>
Sun, 23 Aug 2009 20:10:28 +0000
(20:10 +0000)
committer
Anthony Liguori <aliguori@us.ibm.com>
Fri, 28 Aug 2009 02:23:39 +0000
(21:23 -0500)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
monitor.c
patch
|
blob
|
history
diff --git
a/monitor.c
b/monitor.c
index de687550203b706da5ccb285c4ff2d7e6eb11e4e..ed1ce6e78037d4ec11c5398848c9a26f3030fe80 100644
(file)
--- a/
monitor.c
+++ b/
monitor.c
@@
-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 */