mirror of
https://github.com/vhaudiquet/ecrou.git
synced 2026-11-12 22:22:44 +00:00
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:
1 parent
dd4139ce65
commit
943aa8b38f
1 file changed
+1
-1
@@ -73,7 +73,7 @@ pub struct RunArgs {
|
||||
/// (repeatable; the guest path must be absolute)
|
||||
#[arg(short = 'v', long = "volume")]
|
||||
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")]
|
||||
pub memory: String,
|
||||
/// Working directory inside the machine
|
||||
|
||||
Reference in new issue
Block a user