From b31480dcbc24b08977315888825f4aa256cd7e5e Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Sat, 9 Jul 2011 01:25:28 +0300 Subject: [PATCH] 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 --- tools/kvm/util/generate-cmdlist.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/kvm/util/generate-cmdlist.sh b/tools/kvm/util/generate-cmdlist.sh index c3fd1723b616..fe0178e2507f 100755 --- a/tools/kvm/util/generate-cmdlist.sh +++ b/tools/kvm/util/generate-cmdlist.sh @@ -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 -- 2.39.5