mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-11-20 00:28:52 +00:00
kvm tools: Don't sort command-list.txt for help text
This patch removes the alphabetical sorting from util/generate-cmdlist.h so
that 'kvm run' command, for example, is displayed first:
$ ./kvm
usage: kvm [--version] [--help] COMMAND [ARGS]
The most commonly used kvm commands are:
run Start the virtual machine
pause Pause/resume the virtual machine
version Print the version of the kernel tree kvm tools
list Print a list of running instances on the host.
debug Print debug information from a running instance
balloon Inflate or deflate the virtio balloon
See 'kvm help COMMAND' for more information on a specific command.
Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
committed by
Will Deacon
parent
dbfc060679
commit
fae27ee3ca
@@ -10,7 +10,6 @@ struct cmdname_help
|
||||
static struct cmdname_help common_cmds[] = {"
|
||||
|
||||
sed -n 's/^kvm-\([^ \t]*\).*common/\1/p' command-list.txt |
|
||||
sort |
|
||||
while read cmd
|
||||
do
|
||||
# TODO following sed command should be fixed
|
||||
|
||||
Reference in New Issue
Block a user