commit | 2a1704a71d851624175509a2b15a000dcc7c0386 | [log] [tgz] |
---|---|---|
author | Blue Swirl <blauwirbel@gmail.com> | Sun Aug 23 20:10:28 2009 +0000 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sun Aug 23 20:10:28 2009 +0000 |
tree | 88b4538389a10cdb575b88ac94be758564076d19 | |
parent | 4445b0a62432a6402bbca8ba753679c70c98b522 [diff] [blame] |
Fix device name completion for 'eject' Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
diff --git a/monitor.c b/monitor.c index 362322b..08a9ea5 100644 --- a/monitor.c +++ b/monitor.c
@@ -3062,6 +3062,9 @@ } } str = args[nb_args - 1]; + if (*ptype == '-' && ptype[1] != '\0') { + ptype += 2; + } switch(*ptype) { case 'F': /* file completion */