From 50fb8243c8dcae47ed905051bf41f6958a6c048d Mon Sep 17 00:00:00 2001 From: Jack Wright <56345+ayax79@users.noreply.github.com> Date: Fri, 12 Apr 2024 08:55:36 -0700 Subject: [PATCH] Added a short flag -c to polars append --col (#12487) # Description `dfr append --col` had a short version -c. This polar requests adds the short flag back. Reference Conversation: https://discord.com/channels/601130461678272522/1227612017171501136/1227902980628676688 Co-authored-by: Jack Wright --- crates/nu_plugin_polars/src/dataframe/eager/append.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu_plugin_polars/src/dataframe/eager/append.rs b/crates/nu_plugin_polars/src/dataframe/eager/append.rs index 4b2ae3e0d1..3252ee81a1 100644 --- a/crates/nu_plugin_polars/src/dataframe/eager/append.rs +++ b/crates/nu_plugin_polars/src/dataframe/eager/append.rs @@ -18,7 +18,7 @@ impl PluginCommand for AppendDF { fn signature(&self) -> Signature { Signature::build(self.name()) .required("other", SyntaxShape::Any, "other dataframe to append") - .switch("col", "append as new columns instead of rows", None) + .switch("col", "append as new columns instead of rows", Some('c')) .input_output_type( Type::Custom("dataframe".into()), Type::Custom("dataframe".into()),