From 4e8289d7bb2b2ade306673b452b69536d181da09 Mon Sep 17 00:00:00 2001 From: Douglas <32344964+NotTheDr01ds@users.noreply.github.com> Date: Thu, 19 Dec 2024 09:34:06 -0500 Subject: [PATCH] Set `split-by` doc category to "deprecated" (#14633) # Description #14019 deprecated the `split-by` command. This sets its doc-category to "deprecated" so that it will display that way in the in-shell and online help # User-Facing Changes `split-by` will now show as a deprecated command in Help. Will also be reported using: ```nushell help commands | where category == deprecated ``` # Tests + Formatting - :green_circle: `toolkit fmt` - :green_circle: `toolkit clippy` - :green_circle: `toolkit test` - :green_circle: `toolkit test stdlib` # After Submitting N/A --- crates/nu-command/src/filters/split_by.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-command/src/filters/split_by.rs b/crates/nu-command/src/filters/split_by.rs index b42f0c820c..bbc87452af 100644 --- a/crates/nu-command/src/filters/split_by.rs +++ b/crates/nu-command/src/filters/split_by.rs @@ -14,7 +14,7 @@ impl Command for SplitBy { Signature::build("split-by") .input_output_types(vec![(Type::record(), Type::record())]) .optional("splitter", SyntaxShape::Any, "The splitter value to use.") - .category(Category::Filters) + .category(Category::Deprecated) } fn description(&self) -> &str {