Skip to content

Commit

Permalink
On-line help for mlr summary --transpose (#1581)
Browse files Browse the repository at this point in the history
* On-line help for `mlr summary --transpose`

* run `make dev`
  • Loading branch information
johnkerl committed Jun 8, 2024
1 parent 8223903 commit 202a79d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/src/manpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -2099,6 +2099,7 @@ This is simply a copy of what you should see on running `man mlr` at a command p
-a {mean,sum,etc.} Use only the specified summarizers.
-x {mean,sum,etc.} Use all summarizers, except the specified ones.
--all Use all available summarizers.
--transpose Show output with field names as column names..
-h|--help Show this message.

1mtac0m
Expand Down
1 change: 1 addition & 0 deletions docs/src/manpage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2078,6 +2078,7 @@
-a {mean,sum,etc.} Use only the specified summarizers.
-x {mean,sum,etc.} Use all summarizers, except the specified ones.
--all Use all available summarizers.
--transpose Show output with field names as column names..
-h|--help Show this message.

1mtac0m
Expand Down
1 change: 1 addition & 0 deletions docs/src/reference-verbs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3796,6 +3796,7 @@ Options:
-a {mean,sum,etc.} Use only the specified summarizers.
-x {mean,sum,etc.} Use all summarizers, except the specified ones.
--all Use all available summarizers.
--transpose Show output with field names as column names..
-h|--help Show this message.
</pre>

Expand Down
1 change: 1 addition & 0 deletions man/manpage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2078,6 +2078,7 @@
-a {mean,sum,etc.} Use only the specified summarizers.
-x {mean,sum,etc.} Use all summarizers, except the specified ones.
--all Use all available summarizers.
--transpose Show output with field names as column names..
-h|--help Show this message.

1mtac0m
Expand Down
1 change: 1 addition & 0 deletions man/mlr.1
Original file line number Diff line number Diff line change
Expand Up @@ -2605,6 +2605,7 @@ Options:
-a {mean,sum,etc.} Use only the specified summarizers.
-x {mean,sum,etc.} Use all summarizers, except the specified ones.
--all Use all available summarizers.
--transpose Show output with field names as column names..
-h|--help Show this message.
.fi
.if n \{\
Expand Down
1 change: 1 addition & 0 deletions pkg/transformers/summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ func transformerSummaryUsage(
fmt.Fprintf(o, "-a {mean,sum,etc.} Use only the specified summarizers.\n")
fmt.Fprintf(o, "-x {mean,sum,etc.} Use all summarizers, except the specified ones.\n")
fmt.Fprintf(o, "--all Use all available summarizers.\n")
fmt.Fprintf(o, "--transpose Show output with field names as column names..\n")
fmt.Fprintf(o, "-h|--help Show this message.\n")
}

Expand Down
1 change: 1 addition & 0 deletions test/cases/cli-help/0001/expout
Original file line number Diff line number Diff line change
Expand Up @@ -1252,6 +1252,7 @@ Options:
-a {mean,sum,etc.} Use only the specified summarizers.
-x {mean,sum,etc.} Use all summarizers, except the specified ones.
--all Use all available summarizers.
--transpose Show output with field names as column names..
-h|--help Show this message.

================================================================
Expand Down

0 comments on commit 202a79d

Please sign in to comment.