From 1855dfb656a6a8e5e7baf58bd20ddf0a230a691e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20FARKAS?= Date: Wed, 19 Apr 2023 18:39:12 +0200 Subject: [PATCH] Fix `into decimal` command category (#8932) Commands like this one belong to conversions category Fixes #8931 Co-authored-by: Mate Farkas --- crates/nu-command/src/conversions/into/decimal.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/nu-command/src/conversions/into/decimal.rs b/crates/nu-command/src/conversions/into/decimal.rs index 254db812d5..90f80c4c38 100644 --- a/crates/nu-command/src/conversions/into/decimal.rs +++ b/crates/nu-command/src/conversions/into/decimal.rs @@ -3,7 +3,7 @@ use nu_engine::CallExt; use nu_protocol::{ ast::{Call, CellPath}, engine::{Command, EngineState, Stack}, - Example, PipelineData, ShellError, Signature, Span, SyntaxShape, Type, Value, + Category, Example, PipelineData, ShellError, Signature, Span, SyntaxShape, Type, Value, }; #[derive(Clone)] @@ -25,6 +25,7 @@ impl Command for SubCommand { SyntaxShape::CellPath, "for a data structure input, convert data at the given cell paths", ) + .category(Category::Conversions) } fn usage(&self) -> &str {