summary refs log tree commit diff stats
path: root/scripts/qapi
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-03-01 10:28:43 -0500
committerKevin Wolf <kwolf@redhat.com>2021-03-08 14:55:18 +0100
commita5ef35052e66721e9f943b2b9a91176536b4d896 (patch)
tree05db1adc17b7ad5b8c9d1f8df07bf485486815db /scripts/qapi
parent3b6ad6230e902168f63315e47933025b016f546e (diff)
downloadfocaccia-qemu-a5ef35052e66721e9f943b2b9a91176536b4d896.tar.gz
focaccia-qemu-a5ef35052e66721e9f943b2b9a91176536b4d896.zip
storage-daemon: report unexpected arguments on the fly
If the first character of optstring is '-', then each nonoption argv
element is handled as if it were the argument of an option with character
code 1.  This removes the reordering of the argv array, and enables usage
of loc_set_cmdline to provide better error messages.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210301152844.291799-2-pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions