]> Git Repo - qemu.git/commit - scripts/qapi-gen.py
qapi-gen: Convert from getopt to argparse
authorMarkus Armbruster <[email protected]>
Sun, 11 Feb 2018 09:35:47 +0000 (10:35 +0100)
committerEric Blake <[email protected]>
Fri, 2 Mar 2018 19:14:09 +0000 (13:14 -0600)
commit3b446a1817289d89844ad77c719bdc44bbcd1198
treee608734b7e3d6509bb61e821b7c059c0b6b04349
parentfb0bc835e56b894cbc7236294921e5393c786ad8
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 <[email protected]>
Message-Id: <20180211093607[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Marc-AndrĂ© Lureau <[email protected]>
[eblake: Fix --output-dir editing accident]
Signed-off-by: Eric Blake <[email protected]>
scripts/qapi-gen.py
scripts/qapi/common.py
This page took 0.027586 seconds and 4 git commands to generate.