]> git.ipfire.org Git - thirdparty/qemu.git/commit
tpm: "qemu -tpmdev help" should return success
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 7 Jul 2025 10:14:12 +0000 (14:14 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 15 Jul 2025 06:22:33 +0000 (10:22 +0400)
commitdf892b3954e5b2782165e6c59e5ffd55c2f7ec5a
tree8b6aebc1d28d5c741c2d550c27fbb6ca54ef2f4c
parent0ba45b79452b7f1fb7d45a1a555cbd88ccedb228
tpm: "qemu -tpmdev help" should return success

Like other "-foo help" CLI, the qemu process should return 0 for
"-tpmdev help".

While touching this, switch to is_help_option() utility function as
suggested by Peter Maydell.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20250707101412.2055581-1-marcandre.lureau@redhat.com>
system/tpm.c