aboutsummaryrefslogtreecommitdiff
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorHani Benhabiles <kroosec@gmail.com>2014-05-27 23:39:36 +0100
committerLuiz Capitulino <lcapitulino@redhat.com>2014-06-11 10:10:29 -0400
commitddd6b45ce25281a5894e2df0f7af014e83af19f7 (patch)
tree501e33085e7ee97604978c16e185555fb405b7fb /hmp-commands.hx
parente70871d8b5c92e40cedd6fd0b7687c4f0b6ce3ff (diff)
monitor: Add host_net_remove arguments completion
Relies on readline unique completion strings patch to make the added vlan/hub completion values unique, instead of using something like a hash table. Signed-off-by: Hani Benhabiles <hani@linux.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx1
1 files changed, 1 insertions, 0 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index aab9cf59bb..f99da0efe4 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1227,6 +1227,7 @@ ETEXI
.params = "vlan_id name",
.help = "remove host VLAN client",
.mhandler.cmd = net_host_device_remove,
+ .command_completion = host_net_remove_completion,
},
STEXI