diff --git a/crates/nu-command/src/core_commands/help_commands.rs b/crates/nu-command/src/core_commands/help_commands.rs index dc60709d4a..0a34de61ef 100644 --- a/crates/nu-command/src/core_commands/help_commands.rs +++ b/crates/nu-command/src/core_commands/help_commands.rs @@ -132,7 +132,7 @@ fn build_help_commands(engine_state: &EngineState, span: Span) -> Vec { let decl = engine_state.get_decl(decl_id); let sig = decl.signature().update_from_command(name, decl.borrow()); - let signatures = sig.to_string(); + let signatures = sig.to_string().trim_start().replace("\n ", "\n"); let key = sig.name; let usage = sig.usage; let search_terms = sig.search_terms;