projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4445b0a
)
Fix device name completion for 'eject'
author
Blue Swirl
<blauwirbel@gmail.com>
Sun, 23 Aug 2009 20:10:28 +0000
(20:10 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sun, 23 Aug 2009 20:10:28 +0000
(20:10 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
monitor.c
patch
|
blob
|
history
diff --git
a/monitor.c
b/monitor.c
index 362322b246c33698280a2ee85c7344dd95f1d4b5..08a9ea55eb44ac24dc2d06ec38408c549b2bcb79 100644
(file)
--- a/
monitor.c
+++ b/
monitor.c
@@
-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 */