[libvirt] [PATCH 0/4] virsh: Provide better auto-completion

Nishith Shah nishithshah.2211 at gmail.com
Fri Jul 8 12:56:01 UTC 2016


This series of patches are meant to improve existing auto-complete
functionality in virsh.

The first patch breaks vshCmddefOptParse into two smaller functions, for
use later in the third patch.

The second patch simply changes the types of variables used in existing
readline generators.

The third patch introduces quiet mode for the functions vshCmddefGetOption
and vshCommandStringGetArg.

The fourth patch introduces vshReadlineParse, which uses existing parsing
functions and borrows from vshCommandParse to quite some extent and provides
better auto-completion.

Nishith Shah (4):
  virsh: Break vshCmddefOptParse into helper functions
  virsh: Fix variable types in readline generators
  virsh: Add option to suppress error in various functions
  virsh: Introduce vshReadlineParse for improved auto-completion

 tools/vsh.c | 318 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 271 insertions(+), 47 deletions(-)

-- 
2.7.4




More information about the libvir-list mailing list