Fix incorrect wasm subcommand 'about' text.
This commit is contained in:
committed by
Benjamin Bouvier
parent
30654a6a7d
commit
f028c53479
@@ -128,7 +128,7 @@ fn get_vec(argument_vec: Option<clap::Values>) -> Vec<String> {
|
||||
|
||||
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"),
|
||||
};
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user