mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 19:57:44 +02:00
print the value as a formatted string
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user