diff --git a/crates/nu-engine/src/documentation.rs b/crates/nu-engine/src/documentation.rs index 651a9ee900..69af1daa92 100644 --- a/crates/nu-engine/src/documentation.rs +++ b/crates/nu-engine/src/documentation.rs @@ -148,7 +148,7 @@ fn get_documentation( format!( " {help_subcolor_one}\"{}\" + {RESET}<{help_subcolor_two}{}{RESET}>: {}", String::from_utf8_lossy(kw), - document_shape(&shape), + document_shape(shape), positional.desc ) } @@ -169,7 +169,7 @@ fn get_documentation( format!( " {help_subcolor_one}\"{}\" + {RESET}<{help_subcolor_two}{}{RESET}>: {} (optional)", String::from_utf8_lossy(kw), - document_shape(&shape), + document_shape(shape), positional.desc ) }