Re: [libvirt] [PATCH 1/3] tools: read default connection uri from env later

2016-04-06 Thread Erik Skultety
On 06/04/16 10:51, Ján Tomko wrote: > Postpone filling out the default connection in ctl->connname > after calling virshInit. > > This allows printing help without a connection to the daemon. > --- > tools/virsh.c | 6 +++--- > tools/virt-admin.c | 6 +++--- > 2 files changed, 6 insertions(+

[libvirt] [PATCH 1/3] tools: read default connection uri from env later

2016-04-06 Thread Ján Tomko
Postpone filling out the default connection in ctl->connname after calling virshInit. This allows printing help without a connection to the daemon. --- tools/virsh.c | 6 +++--- tools/virt-admin.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/virsh.c b/tool