qapi: Turn generators' mandatory option -i into an argument
commit16d80f61814745bd3f5bb9f47ae3b00edf9e1e45
authorMarkus Armbruster <armbru@redhat.com>
Thu, 2 Apr 2015 11:32:16 +0000 (2 13:32 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 14 May 2015 16:41:23 +0000 (14 18:41 +0200)
tree257b60369e69b4f04d7412e92246e68be54fda0d
parentb45409683e829770000a4560ed21e704f87df74c
qapi: Turn generators' mandatory option -i into an argument

Mandatory option is silly, and the error handling is missing: the
programs crash when -i isn't supplied.  Make it an argument, and check
it properly.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Makefile
docs/qapi-code-gen.txt
scripts/qapi.py
tests/Makefile