From f16ac886a8a06c079cce405de1ef203270f05b5f Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Tue, 30 Jan 2024 19:36:03 -0600 Subject: [PATCH] change `update cells` column param from Table to List (#11691) # Description This PR fixes `update cells` parameter `--columns`/`-c` so that it takes a `SyntaxShape::List` instead of `SyntaxShape::Table`. closes #11689 # User-Facing Changes # Tests + Formatting # After Submitting --- crates/nu-cmd-extra/src/extra/filters/update_cells.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-cmd-extra/src/extra/filters/update_cells.rs b/crates/nu-cmd-extra/src/extra/filters/update_cells.rs index a27cafa78b..22b16cddfb 100644 --- a/crates/nu-cmd-extra/src/extra/filters/update_cells.rs +++ b/crates/nu-cmd-extra/src/extra/filters/update_cells.rs @@ -26,7 +26,7 @@ impl Command for UpdateCells { ) .named( "columns", - SyntaxShape::Table(vec![]), + SyntaxShape::List(Box::new(SyntaxShape::Any)), "list of columns to update", Some('c'), )