14 Nov
2018
14 Nov
'18
1:56 p.m.
On Wed, Nov 14, 2018 at 07:54:16AM -0600, Eric Blake wrote:
Ah, but here, we can rely on the fact that optarg is NULL when there is no option (regardless of whether the option was short or long). (It's trickier if there are any optional_argument entries for has_arg - but since we stick to just no_argument and required_argument, we don't have to worry about that).
Hmm, good point. Let me think about that for v3. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html