diff --git a/crates/nu-engine/src/documentation.rs b/crates/nu-engine/src/documentation.rs index ae71db8f4b..fe7fbf26c1 100644 --- a/crates/nu-engine/src/documentation.rs +++ b/crates/nu-engine/src/documentation.rs @@ -213,7 +213,7 @@ fn get_documentation( match &example.result { Some(result) => { - let _ = write!(long_desc, "{:#?}\n", result); + let _ = write!(long_desc, " {}\n", result.into_string(" ", engine_state.get_config())); } None => { let _ = write!(long_desc, " {WD}...{RESET}\n");