From ec32b341dce388bf8a24d85b55fafed8631b98fc Mon Sep 17 00:00:00 2001 From: Devyn Cairns Date: Thu, 11 Jul 2024 00:03:39 -0700 Subject: [PATCH] Fix the signature of `view ir` --- crates/nu-command/src/debug/view_ir.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/nu-command/src/debug/view_ir.rs b/crates/nu-command/src/debug/view_ir.rs index df4f6cad6b..2bbe0db020 100644 --- a/crates/nu-command/src/debug/view_ir.rs +++ b/crates/nu-command/src/debug/view_ir.rs @@ -10,7 +10,7 @@ impl Command for ViewIr { } fn signature(&self) -> Signature { - Signature::new(self.name()) + Signature::build(self.name()) .required( "closure", SyntaxShape::Closure(None), @@ -22,6 +22,7 @@ impl Command for ViewIr { Some('j'), ) .input_output_type(Type::Nothing, Type::String) + .category(Category::Debug) } fn usage(&self) -> &str {