fix argument formatting issues

This commit is contained in:
Devyn Cairns 2024-07-08 19:03:46 -07:00
parent 2d4355b573
commit 6e683cd9f5

View File

@ -16,13 +16,14 @@ impl Command for ViewIr {
.required( .required(
"closure", "closure",
SyntaxShape::Closure(None), SyntaxShape::Closure(None),
"the closure to see compiled code for", "The closure to see compiled code for.",
) )
.switch( .switch(
"json", "json",
"Dump the raw block data as JSON (unstable)", "Dump the raw block data as JSON (unstable).",
Some('j'), Some('j'),
) )
.input_output_type(Type::Nothing, Type::String)
} }
fn usage(&self) -> &str { fn usage(&self) -> &str {