Update #4455, Regenerate all commands' docs (#4557)

This commit is contained in:
Justin Ma
2022-02-20 09:13:33 +08:00
committed by GitHub
parent aea4355d04
commit 2ecae0ef43
48 changed files with 481 additions and 52 deletions

View File

@ -16,3 +16,20 @@ Transposes the table contents so rows become columns and columns become rows.
- `--header-row`: treat the first row as column names
- `--ignore-titles`: don't transpose the column names into values
## Examples
Transposes the table contents with default column names
```shell
> echo [[c1 c2]; [1 2]] | transpose
```
Transposes the table contents with specified column names
```shell
> echo [[c1 c2]; [1 2]] | transpose key val
```
Transposes the table without column names and specify a new column name
```shell
> echo [[c1 c2]; [1 2]] | transpose -i val
```