monitor: Fix command completion vs. boolean switches
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 15 Jun 2010 22:38:34 +0000 (00:38 +0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Thu, 1 Jul 2010 16:58:38 +0000 (13:58 -0300)
commitdee41453956d50ef62cc3685314d3e1b99104100
tree4fa604180faccc06cd061fc5da91b0bdd60fd56d
parentfd072e96ba8b76e56aca53d6ee670b5b6f24ab6e
monitor: Fix command completion vs. boolean switches

We now have to move forward to the next argument type via next_arg_type.
This patch fixes completion for 'eject' and maybe also other commands.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
monitor.c