mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
main: Add the '--serial socket=' option help information
See: #5708 Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
parent
e1a893793a
commit
a4d83ce9c5
@ -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=</path/to/a/file>|socket=</path/to/a/file>")
|
||||
.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=</path/to/a/file>,iommu=on|off\"",
|
||||
)
|
||||
.default_value("tty")
|
||||
.group("vm-config"),
|
||||
|
Loading…
Reference in New Issue
Block a user