Re: [libvirt] [PATCH 04/18] vshCommandStringParse: Allow retrieving partial result

2018-01-11 Thread Michal Privoznik
On 01/11/2018 11:48 AM, Martin Kletzander wrote: > On Tue, Jan 02, 2018 at 06:11:57PM +0100, Michal Privoznik wrote: >> In the future, this function is going to be called from >> vshReadlineParse() to provide parsed input for completer >> callbacks. The idea is to allow the callbacks to provide

Re: [libvirt] [PATCH 04/18] vshCommandStringParse: Allow retrieving partial result

2018-01-11 Thread Martin Kletzander
On Tue, Jan 02, 2018 at 06:11:57PM +0100, Michal Privoznik wrote: In the future, this function is going to be called from vshReadlineParse() to provide parsed input for completer callbacks. The idea is to allow the callbacks to provide more specific data. For instance, for the following input:

[libvirt] [PATCH 04/18] vshCommandStringParse: Allow retrieving partial result

2018-01-02 Thread Michal Privoznik
In the future, this function is going to be called from vshReadlineParse() to provide parsed input for completer callbacks. The idea is to allow the callbacks to provide more specific data. For instance, for the following input: virsh # domifaddr --domain fedora --interface the --interface