]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vsh: Cmd aliases lookups should return results for the aliased command
authorErik Skultety <eskultet@redhat.com>
Thu, 25 Jan 2018 15:13:37 +0000 (16:13 +0100)
committerErik Skultety <eskultet@redhat.com>
Thu, 25 Jan 2018 15:20:27 +0000 (16:20 +0100)
commit23594ccda9d0813c1b019db7348d9e93f20bb884
tree97a63f35a159e09d8b73b8783d02cff2a72136fa
parentda60878c4cb4cb4b47c4774a1d52c93a086aa0df
vsh: Cmd aliases lookups should return results for the aliased command

Unfortunately, we have a number of aliases in virsh and even though
these are not visible any more, we have to support them. The problem is
that when trying to print help for the alias, we get SIGSEGV because
there isn't any @def structure anymore and we need to query the command
being aliased instead.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1538570

Signed-off-by: Erik Skultety <eskultet@redhat.com>
tools/vsh.c