tweak view ir desc
This commit is contained in:
parent
5c5db1bd54
commit
b7225f4c0e
|
@ -18,11 +18,15 @@ impl Command for ViewIr {
|
||||||
SyntaxShape::Closure(None),
|
SyntaxShape::Closure(None),
|
||||||
"the closure to see compiled code for",
|
"the closure to see compiled code for",
|
||||||
)
|
)
|
||||||
.switch("json", "Dump the raw block data as JSON", Some('j'))
|
.switch(
|
||||||
|
"json",
|
||||||
|
"Dump the raw block data as JSON (unstable)",
|
||||||
|
Some('j'),
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn usage(&self) -> &str {
|
fn usage(&self) -> &str {
|
||||||
"View the compiled IR code for a block of code"
|
"View the compiled IR code for a block of code."
|
||||||
}
|
}
|
||||||
|
|
||||||
fn run(
|
fn run(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user