]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vsh: Introduce complete command
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 1 Nov 2017 14:34:14 +0000 (15:34 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 11 Jan 2018 17:53:04 +0000 (18:53 +0100)
commita0e1ada63c0afdc2af3b9405cbf637d8bd28700c
treeb1dac4a8cf38fb3d63083571af37496075b4565d
parentcc005fe5a896aa28865f76457bebee90be7a549e
vsh: Introduce complete command

This command is going to be called from bash completion script in
the following form:

  virsh complete -- start --domain

Its only purpose is to return list of possible strings for
completion. Note that this is a 'hidden', unlisted command and
therefore there's no documentation to it.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
tools/virsh.c
tools/virt-admin.c
tools/vsh.c
tools/vsh.h