Skip to content

Commit

Permalink
Small typos in documentation of mlr nest (#1352)
Browse files Browse the repository at this point in the history
* Typofix in `nest` documentation

* update test/cases/cli-help

* artifacts from `make dev`
  • Loading branch information
johnkerl committed Aug 9, 2023
1 parent fcd201d commit 52db2bf
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions docs/src/manpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -1442,8 +1442,8 @@ MILLER(1) MILLER(1)
-f {field name} Required.
--nested-fs {string} Defaults to ";". Field separator for nested values.
--nested-ps {string} Defaults to ":". Pair separator for nested key-value pairs.
--evar {string} Shorthand for --explode --values ---across-records --nested-fs {string}
--ivar {string} Shorthand for --implode --values ---across-records --nested-fs {string}
--evar {string} Shorthand for --explode --values --across-records --nested-fs {string}
--ivar {string} Shorthand for --implode --values --across-records --nested-fs {string}
Please use "mlr --usage-separator-options" for information on specifying separators.

Examples:
Expand Down Expand Up @@ -3434,5 +3434,5 @@ MILLER(1) MILLER(1)



2023-07-04 MILLER(1)
2023-08-09 MILLER(1)
</pre>
6 changes: 3 additions & 3 deletions docs/src/manpage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1421,8 +1421,8 @@ MILLER(1) MILLER(1)
-f {field name} Required.
--nested-fs {string} Defaults to ";". Field separator for nested values.
--nested-ps {string} Defaults to ":". Pair separator for nested key-value pairs.
--evar {string} Shorthand for --explode --values ---across-records --nested-fs {string}
--ivar {string} Shorthand for --implode --values ---across-records --nested-fs {string}
--evar {string} Shorthand for --explode --values --across-records --nested-fs {string}
--ivar {string} Shorthand for --implode --values --across-records --nested-fs {string}
Please use "mlr --usage-separator-options" for information on specifying separators.

Examples:
Expand Down Expand Up @@ -3413,4 +3413,4 @@ MILLER(1) MILLER(1)



2023-07-04 MILLER(1)
2023-08-09 MILLER(1)
4 changes: 2 additions & 2 deletions docs/src/reference-verbs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2188,8 +2188,8 @@ Options:
-f {field name} Required.
--nested-fs {string} Defaults to ";". Field separator for nested values.
--nested-ps {string} Defaults to ":". Pair separator for nested key-value pairs.
--evar {string} Shorthand for --explode --values ---across-records --nested-fs {string}
--ivar {string} Shorthand for --implode --values ---across-records --nested-fs {string}
--evar {string} Shorthand for --explode --values --across-records --nested-fs {string}
--ivar {string} Shorthand for --implode --values --across-records --nested-fs {string}
Please use "mlr --usage-separator-options" for information on specifying separators.

Examples:
Expand Down
4 changes: 2 additions & 2 deletions internal/pkg/transformers/nest.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ func transformerNestUsage(
fmt.Fprintf(o, " -f {field name} Required.\n")
fmt.Fprintf(o, " --nested-fs {string} Defaults to \";\". Field separator for nested values.\n")
fmt.Fprintf(o, " --nested-ps {string} Defaults to \":\". Pair separator for nested key-value pairs.\n")
fmt.Fprintf(o, " --evar {string} Shorthand for --explode --values ---across-records --nested-fs {string}\n")
fmt.Fprintf(o, " --ivar {string} Shorthand for --implode --values ---across-records --nested-fs {string}\n")
fmt.Fprintf(o, " --evar {string} Shorthand for --explode --values --across-records --nested-fs {string}\n")
fmt.Fprintf(o, " --ivar {string} Shorthand for --implode --values --across-records --nested-fs {string}\n")
fmt.Fprintf(o, "Please use \"%s --usage-separator-options\" for information on specifying separators.\n",
argv0)

Expand Down
6 changes: 3 additions & 3 deletions man/manpage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1421,8 +1421,8 @@ MILLER(1) MILLER(1)
-f {field name} Required.
--nested-fs {string} Defaults to ";". Field separator for nested values.
--nested-ps {string} Defaults to ":". Pair separator for nested key-value pairs.
--evar {string} Shorthand for --explode --values ---across-records --nested-fs {string}
--ivar {string} Shorthand for --implode --values ---across-records --nested-fs {string}
--evar {string} Shorthand for --explode --values --across-records --nested-fs {string}
--ivar {string} Shorthand for --implode --values --across-records --nested-fs {string}
Please use "mlr --usage-separator-options" for information on specifying separators.

Examples:
Expand Down Expand Up @@ -3413,4 +3413,4 @@ MILLER(1) MILLER(1)



2023-07-04 MILLER(1)
2023-08-09 MILLER(1)
8 changes: 4 additions & 4 deletions man/mlr.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: mlr
.\" Author: [see the "AUTHOR" section]
.\" Generator: ./mkman.rb
.\" Date: 2023-07-04
.\" Date: 2023-08-09
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
.TH "MILLER" "1" "2023-07-04" "\ \&" "\ \&"
.TH "MILLER" "1" "2023-08-09" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Portability definitions
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -1796,8 +1796,8 @@ Options:
-f {field name} Required.
--nested-fs {string} Defaults to ";". Field separator for nested values.
--nested-ps {string} Defaults to ":". Pair separator for nested key-value pairs.
--evar {string} Shorthand for --explode --values ---across-records --nested-fs {string}
--ivar {string} Shorthand for --implode --values ---across-records --nested-fs {string}
--evar {string} Shorthand for --explode --values --across-records --nested-fs {string}
--ivar {string} Shorthand for --implode --values --across-records --nested-fs {string}
Please use "mlr --usage-separator-options" for information on specifying separators.

Examples:
Expand Down
4 changes: 2 additions & 2 deletions test/cases/cli-help/0001/expout
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,8 @@ Options:
-f {field name} Required.
--nested-fs {string} Defaults to ";". Field separator for nested values.
--nested-ps {string} Defaults to ":". Pair separator for nested key-value pairs.
--evar {string} Shorthand for --explode --values ---across-records --nested-fs {string}
--ivar {string} Shorthand for --implode --values ---across-records --nested-fs {string}
--evar {string} Shorthand for --explode --values --across-records --nested-fs {string}
--ivar {string} Shorthand for --implode --values --across-records --nested-fs {string}
Please use "mlr --usage-separator-options" for information on specifying separators.

Examples:
Expand Down

0 comments on commit 52db2bf

Please sign in to comment.