qapi: Fix generators to report command line errors decently
commitb45409683e829770000a4560ed21e704f87df74c
authorMarkus Armbruster <armbru@redhat.com>
Thu, 2 Apr 2015 11:17:34 +0000 (2 13:17 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 14 May 2015 16:39:34 +0000 (14 18:39 +0200)
tree425537c3c7b447d700123a81491a149f3369a39b
parent2114f5a98d0d80774306279e1694de074ca86aa0
qapi: Fix generators to report command line errors decently

Report to stderr, prefix with the program name.  Also reject
extra arguments.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
scripts/qapi.py