From 0e3a8c552ce14743be5841493c1394617fbe299f Mon Sep 17 00:00:00 2001 From: Douglas <32344964+NotTheDr01ds@users.noreply.github.com> Date: Fri, 11 Oct 2024 14:57:32 -0400 Subject: [PATCH] Correct wording from previous PR (#14066) # Description Apologies - The updated wording I used in the last PR *description* was not what I actually pushed. I failed to commit and push the last update. This PR fixes the code to reflect what was described in #14065: ``` -r, --header-row - use the first input column as the table header-row (or keynames when combined with --as-record) ``` # User-Facing Changes Help/doc only # Tests + Formatting - :green_circle: `toolkit fmt` - :green_circle: `toolkit clippy` - :green_circle: `toolkit test` - :green_circle: `toolkit test stdlib` (And visually confirmed help changes ;-)) # After Submitting N/A --- crates/nu-command/src/filters/transpose.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-command/src/filters/transpose.rs b/crates/nu-command/src/filters/transpose.rs index c14a134076..813a4733b2 100644 --- a/crates/nu-command/src/filters/transpose.rs +++ b/crates/nu-command/src/filters/transpose.rs @@ -25,7 +25,7 @@ impl Command for Transpose { ]) .switch( "header-row", - "treat the first column as the header-row (column names)", + "use the first input column as the table header-row (or keynames when combined with --as-record)", Some('r'), ) .switch(