[Libguestfs] [nbdkit PATCH v2 1/5] maint: Improve ./nbdkit option parsing

Eric Blake eblake at redhat.com
Thu Nov 8 21:53:36 UTC 2018


On 11/8/18 3:29 PM, Eric Blake wrote:
> We had several poor option-parsing actions in our ./nbdkit wrapper:
> 

> @@ -106,6 +95,24 @@ while [ $# -gt 0 ]; do
>               shift 2
>               ;;
> 
> +        # Remaining options that take an argument, which we pass through as is.
> +	# Although getopt_long handles abbreviations, we don't. Oh well.

I'll fix the TAB damage before pushing.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org




More information about the Libguestfs mailing list