Skip to content

Commit

Permalink
add a new alias "scatter" to "spread". #265
Browse files Browse the repository at this point in the history
  • Loading branch information
shenwei356 committed Mar 19, 2024
1 parent a43f91c commit c6a87a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
- [csvtk v0.30.1](https://github.com/shenwei356/csvtk/releases/tag/v0.30.1)
[![Github Releases (by Release)](https://img.shields.io/github/downloads/shenwei356/csvtk/v0.30.1/total.svg)](https://github.com/shenwei356/csvtk/releases/tag/v0.30.1)
- `csvtk spread`:
- add a new alias "scatter" to "spread". [#265](https://github.com/shenwei356/csvtk/issues/265)
- [csvtk v0.30.0](https://github.com/shenwei356/csvtk/releases/tag/v0.30.0)
[![Github Releases (by Release)](https://img.shields.io/github/downloads/shenwei356/csvtk/v0.30.0/total.svg)](https://github.com/shenwei356/csvtk/releases/tag/v0.30.0)
- `csvtk`:
Expand Down
2 changes: 1 addition & 1 deletion csvtk/cmd/spread.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var spreadCmd = &cobra.Command{

Use: "spread",

Aliases: []string{"wider"},
Aliases: []string{"wider", "scatter"},

Short: "spread a key-value pair across multiple columns, like tidyr::spread/pivot_wider",
Long: `spread a key-value pair across multiple columns, like tidyr::spread/pivot_wider
Expand Down
2 changes: 1 addition & 1 deletion doc/docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -3633,7 +3633,7 @@ Usage:
csvtk spread [flags]
Aliases:
spread, wider
spread, wider, scatter
Flags:
-h, --help help for spread
Expand Down

0 comments on commit c6a87a8

Please sign in to comment.