aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-05-10 23:54:33 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2023-05-18 08:53:51 +0200
commit02312f1af1524253d1b98f4fa6dfe23dc53f1c02 (patch)
tree0d21c160d18ccb5df6a5001146b825a30402cf64 /python
parente46b82a03cf2c7d9edd5c58e0d77515e53f66190 (diff)
downloadqemu-02312f1af1524253d1b98f4fa6dfe23dc53f1c02.zip
qemu-02312f1af1524253d1b98f4fa6dfe23dc53f1c02.tar.gz
qemu-02312f1af1524253d1b98f4fa6dfe23dc53f1c02.tar.bz2
mkvenv: mark command as required
This is only available in Python 3.7+. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> Message-Id: <20230511035435.734312-26-jsnow@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'python')
-rw-r--r--python/scripts/mkvenv.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/scripts/mkvenv.py b/python/scripts/mkvenv.py
index 5586199..8c036c0 100644
--- a/python/scripts/mkvenv.py
+++ b/python/scripts/mkvenv.py
@@ -854,6 +854,7 @@ def main() -> int:
subparsers = parser.add_subparsers(
title="Commands",
dest="command",
+ required=True,
metavar="command",
help="Description",
)