mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-12-24 11:58:41 +00:00
main: Fix help for create_qcow2
The size is specified in bytes, correct the help messages. Change-Id: I386b329123bbfc9dfdaf073eb345c4554ade4982 Signed-off-by: Dylan Reid <dgreid@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1145763 Reviewed-by: Stephen Barber <smbarber@chromium.org>
This commit is contained in:
parent
a697d31fc6
commit
940259c548
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ fn balloon_vms(mut args: std::env::Args) -> std::result::Result<(), ()> {
|
|||
fn create_qcow2(mut args: std::env::Args) -> std::result::Result<(), ()> {
|
||||
if args.len() != 2 {
|
||||
print_help("crosvm create_qcow2", "PATH SIZE", &[]);
|
||||
println!("Create a new QCOW2 image at `PATH` of the specified `SIZE` in megabytes.");
|
||||
println!("Create a new QCOW2 image at `PATH` of the specified `SIZE` in bytes.");
|
||||
}
|
||||
let file_path = args.nth(0).unwrap();
|
||||
let size: u64 = match args.nth(0).unwrap().parse::<u64>() {
|
||||
|
|
Loading…
Reference in a new issue