From a059bff15223dd019dd4395f5301c43a5386ad7c Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Thu, 16 Jun 2022 10:46:07 -0700 Subject: [PATCH] cmdline: fix naming of --software-tpm argument This accidentally got renamed to just --tpm in the argh refactor. BUG=None TEST=cargo build --features=tpm && crosvm run --software-tpm ... Change-Id: Ifa31faef9c566d3e3828a726138e635c41beb582 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3707379 Commit-Queue: Daniel Verkamp Reviewed-by: Anton Romanov Tested-by: kokoro --- src/crosvm/cmdline.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crosvm/cmdline.rs b/src/crosvm/cmdline.rs index 0ee69253e9..11bf9e358e 100644 --- a/src/crosvm/cmdline.rs +++ b/src/crosvm/cmdline.rs @@ -913,7 +913,7 @@ pub struct RunCommand { /// path to put the control socket. If PATH is a directory, a name will be generated pub socket_path: Option, #[cfg(feature = "tpm")] - #[argh(switch, long = "tpm")] + #[argh(switch)] /// enable a software emulated trusted platform module device pub software_tpm: bool, #[cfg(feature = "audio")]