diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-08-23 20:10:28 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-08-23 20:10:28 +0000 |
commit | 2a1704a71d851624175509a2b15a000dcc7c0386 (patch) | |
tree | 88b4538389a10cdb575b88ac94be758564076d19 | |
parent | 4445b0a62432a6402bbca8ba753679c70c98b522 (diff) |
Fix device name completion for 'eject'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | monitor.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 */ |