From 6e683cd9f5254b110127e3464ec3fe344ddcd216 Mon Sep 17 00:00:00 2001 From: Devyn Cairns Date: Mon, 8 Jul 2024 19:03:46 -0700 Subject: [PATCH] fix argument formatting issues --- crates/nu-command/src/debug/view_ir.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 {