]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vsh: Refactor store of command help and description
authorPeter Krempa <pkrempa@redhat.com>
Mon, 4 Mar 2024 12:21:50 +0000 (13:21 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 13 Mar 2024 14:02:52 +0000 (15:02 +0100)
commit465091d2b852d4da80f89b6bcfcaaa031d88306d
treea80d153e8999524663213d0071be9021948d4781
parent7df38644bc8c7c16d17f52747eee13b0945596dd
vsh: Refactor store of command help and description

Store the pointers to 'help' and 'description' information in the struct
directly rather than in a key-value list.

The generic approach never got any extra use.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
18 files changed:
tools/virsh-backup.c
tools/virsh-checkpoint.c
tools/virsh-domain-event.c
tools/virsh-domain-monitor.c
tools/virsh-domain.c
tools/virsh-host.c
tools/virsh-interface.c
tools/virsh-network.c
tools/virsh-nodedev.c
tools/virsh-nwfilter.c
tools/virsh-pool.c
tools/virsh-secret.c
tools/virsh-snapshot.c
tools/virsh-volume.c
tools/virsh.c
tools/virt-admin.c
tools/vsh.c
tools/vsh.h