]> Git Repo - qemu.git/commit
Sort the help info shown in monitor at runtime
authorWayne Xia <[email protected]>
Wed, 12 Oct 2011 03:32:41 +0000 (11:32 +0800)
committerAnthony Liguori <[email protected]>
Tue, 1 Nov 2011 21:52:08 +0000 (16:52 -0500)
commit816f89256ef36c8fd20e70ac393110cf2322e223
tree3b879a2a91284e532f33b42c680bf96fbcaa8ff4
parent2284451019a796eb2a37d70544e19d686de7f8c0
Sort the help info shown in monitor at runtime

This patch would try sort the command list in monitor at runtime. As a result,
command help and help info would show a more friendly sorted command list.
For eg:
(qemu)help
acl_add
acl_policy
acl_remove
acl_reset
acl_show
balloon
block_passwd
...
the command list is sorted.

v3: using qsort function to sort the command list.

Tested-by: Wenyi Gao <[email protected]>
Signed-off-by: Wayne Xia <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
monitor.c
This page took 0.024946 seconds and 4 git commands to generate.