Re: [PATCH v2] virsh: Allow listing just domain IDs

2020-11-09 Thread Martin Kletzander
On Sat, Nov 07, 2020 at 11:43:05AM +0100, Michal Prívozník wrote: On 11/6/20 2:59 PM, Martin Kletzander wrote: On Thu, Oct 22, 2020 at 04:41:18PM +0200, Michal Privoznik wrote: Some completers for libvirt related tools might want to list domain IDs only. Just like the one I've implemented for

Re: [PATCH v2] virsh: Allow listing just domain IDs

2020-11-07 Thread Michal Prívozník
On 11/6/20 2:59 PM, Martin Kletzander wrote: On Thu, Oct 22, 2020 at 04:41:18PM +0200, Michal Privoznik wrote: Some completers for libvirt related tools might want to list domain IDs only. Just like the one I've implemented for virt-viewer [1]. I've worked around it using some awk magic, but if

Re: [PATCH v2] virsh: Allow listing just domain IDs

2020-11-06 Thread Martin Kletzander
On Thu, Oct 22, 2020 at 04:41:18PM +0200, Michal Privoznik wrote: Some completers for libvirt related tools might want to list domain IDs only. Just like the one I've implemented for virt-viewer [1]. I've worked around it using some awk magic, but if it was possible to just 'virsh list --id'

[PATCH v2] virsh: Allow listing just domain IDs

2020-10-22 Thread Michal Privoznik
Some completers for libvirt related tools might want to list domain IDs only. Just like the one I've implemented for virt-viewer [1]. I've worked around it using some awk magic, but if it was possible to just 'virsh list --id' then I could drop awk. 1: