[PATCH v2 0/3] virsh: Option completers and small improvements/fixes for autocomplete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series introduces option completers and adds some minor improvements
and fixes(not bugs per se, just better/sane behavior) in vshReadlineParse.

The first patch introduces the usage of option completers to auto-complete
arguments for a particular option.

The second and third patches provide small improvements like completing
the options of type VSH_OT_ARGV or VSH_OT_DATA, and to complete multiple
options as well, if a previous option requires an argument, and that
argument has been provided.

---
v2: Fix an infinite while loop bug

v1: https://www.redhat.com/archives/libvir-list/2016-August/msg01009.html

Nishith Shah (3):
  virsh: Introduce usage of option completers to auto-complete arguments
  virsh: Allow data or argument options to be completed as well
  virsh: Complete multiple options when any one option requires data

 tools/vsh.c | 75 ++++++++++++++++++++++++++++++++++++++++---------------------
 1 file changed, 49 insertions(+), 26 deletions(-)

-- 
2.1.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]