fix argument formatting issues
This commit is contained in:
parent
2d4355b573
commit
6e683cd9f5
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user