aboutsummaryrefslogtreecommitdiff
path: root/fpu
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 /fpu
parent3b6ad6230e902168f63315e47933025b016f546e (diff)
downloadqemu-a5ef35052e66721e9f943b2b9a91176536b4d896.zip
qemu-a5ef35052e66721e9f943b2b9a91176536b4d896.tar.gz
qemu-a5ef35052e66721e9f943b2b9a91176536b4d896.tar.bz2
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 'fpu')
0 files changed, 0 insertions, 0 deletions