qemu-nbd: don't overlap long option values with short options
commitfa8b7ce2c6d9ec80aa54769f2988c830d459486a
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 17 Feb 2016 10:10:21 +0000 (17 10:10 +0000)
committerKevin Wolf <kwolf@redhat.com>
Mon, 22 Feb 2016 08:50:05 +0000 (22 09:50 +0100)
tree45a4a14597d52c6e302b9b13abbc2cd4ad333633
parenteb769f74205e0906bdb45eeeb332c40b50b1dcb7
qemu-nbd: don't overlap long option values with short options

When defining values for long options, the normal practice is
to start numbering from 256, to avoid overlap with the range
of valid values for short options.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-nbd.c