Re: [libvirt] [PATCH v2 18/23] virsh: convert command line parsing to use GOptionContext

2019-10-10 Thread Daniel P . Berrangé
On Mon, Oct 07, 2019 at 06:14:20PM +0100, Daniel P. Berrangé wrote: > The GOptionContext API has the benefit over getopt_long that it will > automatically handle --help output formatting. > > Signed-off-by: Daniel P. Berrangé > --- > tools/virsh.c | 304

[libvirt] [PATCH v2 18/23] virsh: convert command line parsing to use GOptionContext

2019-10-07 Thread Daniel P . Berrangé
The GOptionContext API has the benefit over getopt_long that it will automatically handle --help output formatting. Signed-off-by: Daniel P. Berrangé --- tools/virsh.c | 304 +++--- 1 file changed, 137 insertions(+), 167 deletions(-) diff --git