qemu-io: use no_argument/required_argument constants
commita513416ecf86956757c82f030506f516fc015313
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 17 Feb 2016 10:10:23 +0000 (17 10:10 +0000)
committerKevin Wolf <kwolf@redhat.com>
Mon, 22 Feb 2016 08:50:05 +0000 (22 09:50 +0100)
treee851942aa3148de1f3177824c29eb1ce29f81f17
parentaa6e546c5a54c59ef05580f77cb74c12e95a21b3
qemu-io: 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-io.c