Skip to content

Commit

Permalink
chore(cli): Update help messages
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Dimitrov <[email protected]>
  • Loading branch information
dimitrovmaksim committed Aug 7, 2023
1 parent 694250f commit fa3e111
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ struct Cli {

#[derive(Debug, Subcommand)]
enum Action {
#[command(about = "Injects a wasm module into another wasm module")]
#[command(about = "Inject invalid instructions into a wasm module")]
Inject {
#[arg(required = true, value_name = "injection", value_hint = ValueHint::Other)]
injection: Injection,
Expand All @@ -37,7 +37,7 @@ enum Action {
hexified: bool,
},
#[command(
about = "Convert a hexified and/or compressed wasm module back to raw or hexify and/or compress a raw wasm module"
about = "Convert from `hexified` and/or `compressed` to `raw` wasm module and vice versa"
)]
Convert {
#[command(flatten)]
Expand Down Expand Up @@ -82,7 +82,7 @@ struct GlobalOpts {
#[arg(required = true, help = "Wasm source file path. Can be compressed and/or hexified.", value_hint = ValueHint::FilePath)]
source: PathBuf,

#[arg(help = "Destination file path (optional)", value_hint = ValueHint::FilePath)]
#[arg(help = "Destination file path (optional). If not specified, the output file will be a prefixed source file name. ", value_hint = ValueHint::FilePath)]
destination: Option<PathBuf>,
}

Expand Down

0 comments on commit fa3e111

Please sign in to comment.