diff --git a/crates/nu-command/src/debug/view_ir.rs b/crates/nu-command/src/debug/view_ir.rs index 7c0a036f5a..f9e065afa1 100644 --- a/crates/nu-command/src/debug/view_ir.rs +++ b/crates/nu-command/src/debug/view_ir.rs @@ -16,13 +16,14 @@ impl Command for ViewIr { .required( "closure", 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 (unstable)", + "Dump the raw block data as JSON (unstable).", Some('j'), ) + .input_output_type(Type::Nothing, Type::String) } fn usage(&self) -> &str {