Re: [libvirt] [PATCH 2/4] virsh: Extend virsh commands definition with completer

2011-07-05 Thread Eric Blake
On 07/04/2011 02:41 AM, Michal Privoznik wrote: > This commit introduces command-based completer. Any command can now have > a completer, which will generate additional command arguments. Completer > is called repeatedly until it returns NULL. On the first call, @state is > non-zero. Don't you mea

[libvirt] [PATCH 2/4] virsh: Extend virsh commands definition with completer

2011-07-04 Thread Michal Privoznik
This commit introduces command-based completer. Any command can now have a completer, which will generate additional command arguments. Completer is called repeatedly until it returns NULL. On the first call, @state is non-zero. --- tools/virsh.c | 364 ++--