docs(cli): state the memory size unit

--memory takes MiB, not bytes: -m 512 is 512 MiB. The help said
bytes.
This commit is contained in:
vhaudiquet committed 2026-10-30 23:12:50 +01:00
1 parent dd4139ce65
commit 943aa8b38f
1 file changed
+1 -1
+1 -1
View File
@@ -73,7 +73,7 @@ pub struct RunArgs {
/// (repeatable; the guest path must be absolute) /// (repeatable; the guest path must be absolute)
#[arg(short = 'v', long = "volume")] #[arg(short = 'v', long = "volume")]
pub volumes: Vec<String>, pub volumes: Vec<String>,
/// Guest memory size (bytes, or with a K/M/G suffix) /// Guest memory size in MiB, or with a K/M/G suffix (2048, 512M, 1G)
#[arg(short = 'm', long, default_value = "1G")] #[arg(short = 'm', long, default_value = "1G")]
pub memory: String, pub memory: String,
/// Working directory inside the machine /// Working directory inside the machine