From a4d83ce9c54fa69cf491477384d2c94cc2746be3 Mon Sep 17 00:00:00 2001 From: Bo Chen Date: Wed, 1 Nov 2023 14:56:10 -0700 Subject: [PATCH] main: Add the '--serial socket=' option help information See: #5708 Signed-off-by: Bo Chen --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 2e51f34d3..426d154c9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -287,7 +287,7 @@ fn create_app(default_vcpus: String, default_memory: String, default_rng: String .arg( Arg::new("serial") .long("serial") - .help("Control serial port: off|null|pty|tty|file=/path/to/a/file") + .help("Control serial port: off|null|pty|tty|file=|socket=") .default_value("null") .group("vm-config"), ) @@ -295,7 +295,7 @@ fn create_app(default_vcpus: String, default_memory: String, default_rng: String Arg::new("console") .long("console") .help( - "Control (virtio) console: \"off|null|pty|tty|file=/path/to/a/file,iommu=on|off\"", + "Control (virtio) console: \"off|null|pty|tty|file=,iommu=on|off\"", ) .default_value("tty") .group("vm-config"),