Fix the signature of view ir

This commit is contained in:
Devyn Cairns 2024-07-11 00:03:39 -07:00
parent 801cfae279
commit ec32b341dc

View File

@ -10,7 +10,7 @@ impl Command for ViewIr {
} }
fn signature(&self) -> Signature { fn signature(&self) -> Signature {
Signature::new(self.name()) Signature::build(self.name())
.required( .required(
"closure", "closure",
SyntaxShape::Closure(None), SyntaxShape::Closure(None),
@ -22,6 +22,7 @@ impl Command for ViewIr {
Some('j'), Some('j'),
) )
.input_output_type(Type::Nothing, Type::String) .input_output_type(Type::Nothing, Type::String)
.category(Category::Debug)
} }
fn usage(&self) -> &str { fn usage(&self) -> &str {