qemu-nbd: use no_argument/required_argument constants
commitaa6e546c5a54c59ef05580f77cb74c12e95a21b3
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 17 Feb 2016 10:10:22 +0000 (17 10:10 +0000)
committerKevin Wolf <kwolf@redhat.com>
Mon, 22 Feb 2016 08:50:05 +0000 (22 09:50 +0100)
treeece07c7f97dd14522280ee2376df25b9a3009ef6
parentfa8b7ce2c6d9ec80aa54769f2988c830d459486a
qemu-nbd: use no_argument/required_argument constants

When declaring the 'struct option' array, use the standard
constants no_argument/required_argument, instead of magic
values 0 and 1.

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