From f028c53479c9eb71d7acab7b26c91bd21f11f28a Mon Sep 17 00:00:00 2001 From: Zach Reizner Date: Sun, 25 Nov 2018 17:42:10 -0800 Subject: [PATCH] Fix incorrect wasm subcommand 'about' text. --- cranelift/src/clif-util.rs | 2 +- cranelift/src/wasm.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cranelift/src/clif-util.rs b/cranelift/src/clif-util.rs index 5d5ca2b5d4..7f5d521f41 100755 --- a/cranelift/src/clif-util.rs +++ b/cranelift/src/clif-util.rs @@ -128,7 +128,7 @@ fn get_vec(argument_vec: Option) -> Vec { fn add_wasm_or_compile<'a>(cmd: &str) -> clap::App<'a, 'a> { let about_str = match cmd { - "wasm" => "Compiles Cranelift IR into target language", + "wasm" => "Compiles Wasm binary/text into Cranelift IR and then into target language", "compile" => "Compiles Cranelift IR into target language", _ => panic!("Invalid command"), }; diff --git a/cranelift/src/wasm.rs b/cranelift/src/wasm.rs index 3eeddf5241..9e22279751 100644 --- a/cranelift/src/wasm.rs +++ b/cranelift/src/wasm.rs @@ -1,7 +1,7 @@ //! CLI tool to use the functions provided by the [cranelift-wasm](../cranelift_wasm/index.html) //! crate. //! -//! Reads Wasm binary files, translates the functions' code to Cranelift IR. +//! Reads Wasm binary/text files, translates the functions' code to Cranelift IR. #![cfg_attr( feature = "cargo-clippy", allow(too_many_arguments, cyclomatic_complexity)