mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-09-03 20:21:27 +00:00
Documentation: Change the binary name from *kvm* to *lkvm*, since commit ad3efb18 already called the binary *lkvm* and with a alias name *vm*. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
24 lines
459 B
Bash
Executable File
24 lines
459 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo "/* Automatically generated by $0 */
|
|
struct cmdname_help
|
|
{
|
|
char name[16];
|
|
char help[80];
|
|
};
|
|
|
|
static struct cmdname_help common_cmds[] = {"
|
|
|
|
sed -n 's/^lkvm-\([^ \t]*\).*common/\1/p' command-list.txt |
|
|
while read cmd
|
|
do
|
|
# TODO following sed command should be fixed
|
|
sed -n '/^NAME/,/^lkvm-'"$cmd"'/ {
|
|
/NAME/d
|
|
/--/d
|
|
s/.*kvm-'"$cmd"' - \(.*\)/ {"'"$cmd"'", "\1"},/
|
|
p
|
|
}' "Documentation/kvm-$cmd.txt"
|
|
done
|
|
echo "};"
|