summary refs log tree commit diff
path: root/src/main.rs
diff options
context:
space:
mode:
authorDylan Reid <dgreid@chromium.org>2018-07-20 14:22:33 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-07-23 21:05:07 -0700
commit940259c548dc13dd04adf938dc047a5faa48908e (patch)
tree83458c11eb9a6396779aa44ac0575b4941151ac5 /src/main.rs
parenta697d31fc697a6f02489f11d58d23cb2380d4013 (diff)
downloadcrosvm-940259c548dc13dd04adf938dc047a5faa48908e.tar
crosvm-940259c548dc13dd04adf938dc047a5faa48908e.tar.gz
crosvm-940259c548dc13dd04adf938dc047a5faa48908e.tar.bz2
crosvm-940259c548dc13dd04adf938dc047a5faa48908e.tar.lz
crosvm-940259c548dc13dd04adf938dc047a5faa48908e.tar.xz
crosvm-940259c548dc13dd04adf938dc047a5faa48908e.tar.zst
crosvm-940259c548dc13dd04adf938dc047a5faa48908e.zip
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>
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 63ad4e0..fc9c18c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -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>() {