From 2b0cb4c95db2e6f2472b15b51a5a0e5fae446fc9 Mon Sep 17 00:00:00 2001 From: amtoine Date: Fri, 24 Feb 2023 10:29:54 +0100 Subject: [PATCH] remove the indentation to align the outputs to the left --- crates/nu-engine/src/documentation.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu-engine/src/documentation.rs b/crates/nu-engine/src/documentation.rs index f06e225144..81acb70ef4 100644 --- a/crates/nu-engine/src/documentation.rs +++ b/crates/nu-engine/src/documentation.rs @@ -227,8 +227,8 @@ fn get_documentation( for item in table { let _ = write!( long_desc, - " {}\n", - item.into_string("\n ", engine_state.get_config()) + "{}\n", + item.into_string("", engine_state.get_config()) ); } }