]> git.proxmox.com Git - mirror_qemu.git/commit
tests/vm: switch from optsparse to argparse
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 1 Jul 2020 13:56:26 +0000 (14:56 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Sat, 11 Jul 2020 14:53:00 +0000 (15:53 +0100)
commit2fea3a125dd8ff05c0a8d324573d31f24cc6d422
tree9c6a4bc4af4fda157295c9061661c8cdc03d37c2
parentff14ab0c13ee470f8f3fdcdea14104cef3d9fe2f
tests/vm: switch from optsparse to argparse

optparse has been deprecated since version 3.2 and argparse is the
blessed replacement. Take the opportunity to enhance our help output
showing defaults when called.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Robert Foley <robert.foley@linaro.org>
Message-Id: <20200701135652.1366-15-alex.bennee@linaro.org>
tests/vm/aarch64vm.py
tests/vm/basevm.py