summary refs log tree commit diff stats
path: root/scripts/qapi/introspect.py
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2018-02-11 10:35:47 +0100
committerEric Blake <eblake@redhat.com>2018-03-02 13:14:09 -0600
commit3b446a1817289d89844ad77c719bdc44bbcd1198 (patch)
treee608734b7e3d6509bb61e821b7c059c0b6b04349 /scripts/qapi/introspect.py
parentfb0bc835e56b894cbc7236294921e5393c786ad8 (diff)
downloadfocaccia-qemu-3b446a1817289d89844ad77c719bdc44bbcd1198.tar.gz
focaccia-qemu-3b446a1817289d89844ad77c719bdc44bbcd1198.zip
qapi-gen: Convert from getopt to argparse
argparse is nicer to use than getopt, and gives us --help almost for
free.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180211093607.27351-10-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
[eblake: Fix --output-dir editing accident]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/qapi/introspect.py')
0 files changed, 0 insertions, 0 deletions