mirror of
https://github.com/nushell/nushell.git
synced 2025-05-28 22:07:40 +02:00
print the value as a formatted string
This commit is contained in:
parent
471ce95b5b
commit
2927d70fcc
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user