Skip to content

Commit fce817c

Browse files
Improve json-from-wast -h output (bytecodealliance#1893)
* Improve `json-from-wast -h` output Don't render a long variable name placeholder as `ALLOW_CONFUSING_UNICODE` and instead render it just as `ALLOW`. * Update src/bin/wasm-tools/json_from_wast.rs Co-authored-by: Nick Fitzgerald <fitzgen@gmail.com> --------- Co-authored-by: Nick Fitzgerald <fitzgen@gmail.com>
1 parent 1842fb6 commit fce817c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/wasm-tools/json_from_wast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub struct Opts {
5454
///
5555
/// This is defaulted to `true` to enable parsing all upstream spec tests
5656
/// but can be disabled if desired too.
57-
#[clap(long)]
57+
#[clap(long, value_name = "true|false")]
5858
allow_confusing_unicode: Option<bool>,
5959
}
6060

0 commit comments

Comments
 (0)