mirror of
https://github.com/nushell/nushell
synced 2024-12-28 14:03:09 +00:00
print the value as a formatted string
This commit is contained in:
parent
471ce95b5b
commit
2927d70fcc
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue