diff --git a/crates/nu-command/src/filters/append.rs b/crates/nu-command/src/filters/append.rs index 48ac628ad5..51df71afae 100644 --- a/crates/nu-command/src/filters/append.rs +++ b/crates/nu-command/src/filters/append.rs @@ -16,12 +16,16 @@ impl Command for Append { fn signature(&self) -> nu_protocol::Signature { Signature::build("append") - .required("row", SyntaxShape::Any, "the row to append") + .required("row", SyntaxShape::Any, "the row, list, or table to append") .category(Category::Filters) } fn usage(&self) -> &str { - "Append a row to the table." + "Append any number of rows to a table." + } + + fn search_terms(&self) -> Vec<&str> { + vec!["concatenate"] } fn examples(&self) -> Vec { diff --git a/crates/nu-command/src/filters/prepend.rs b/crates/nu-command/src/filters/prepend.rs index 689b2a8fa9..d06cbc2426 100644 --- a/crates/nu-command/src/filters/prepend.rs +++ b/crates/nu-command/src/filters/prepend.rs @@ -16,12 +16,20 @@ impl Command for Prepend { fn signature(&self) -> nu_protocol::Signature { Signature::build("prepend") - .required("row", SyntaxShape::Any, "the row to prepend") + .required( + "row", + SyntaxShape::Any, + "the row, list, or table to prepend", + ) .category(Category::Filters) } fn usage(&self) -> &str { - "Prepend a row to the table." + "Prepend any number of rows to a table." + } + + fn search_terms(&self) -> Vec<&str> { + vec!["concatenate"] } fn examples(&self) -> Vec {