From 943aa8b38febeb665acb44bfda536b6ba68ab76a Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Fri, 30 Oct 2026 23:12:50 +0100 Subject: [PATCH] docs(cli): state the memory size unit --memory takes MiB, not bytes: -m 512 is 512 MiB. The help said bytes. --- crates/ecrou-cli/src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ecrou-cli/src/cli.rs b/crates/ecrou-cli/src/cli.rs index 77dfd1d..dce65ef 100644 --- a/crates/ecrou-cli/src/cli.rs +++ b/crates/ecrou-cli/src/cli.rs @@ -73,7 +73,7 @@ pub struct RunArgs { /// (repeatable; the guest path must be absolute) #[arg(short = 'v', long = "volume")] pub volumes: Vec, - /// 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")] pub memory: String, /// Working directory inside the machine