mirror of
https://github.com/nushell/nushell
synced 2025-01-16 15:14:26 +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 {
|
match &example.result {
|
||||||
Some(result) => {
|
Some(result) => {
|
||||||
let _ = write!(long_desc, "{:#?}\n", result);
|
let _ = write!(long_desc, " {}\n", result.into_string(" ", engine_state.get_config()));
|
||||||
}
|
}
|
||||||
None => {
|
None => {
|
||||||
let _ = write!(long_desc, " {WD}...{RESET}\n");
|
let _ = write!(long_desc, " {WD}...{RESET}\n");
|
||||||
|
|
Loading…
Reference in a new issue