mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
The `--platform` help string was hardcoded and did not reflect which optional features (tdx, sev_snp) were actually enabled in. Build the syntax string dynamically as `PlatformConfig::syntax()`, conditionally appending feature-gated options so the CLI help stays accurate. Signed-off-by: Bo Chen <bchen@crusoe.ai>