Fix typo in online help for --no-jlistwrap (#1541)

* Add --no-auto-unsparsify flag

* Fix typo in online help for `--no-jlistwrap`

* Artifacts from `make dev`
This commit is contained in:
John Kerl 2024-04-11 08:12:45 -04:00 committed by GitHub
parent 03b8cce048
commit e714738a7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 143 additions and 71 deletions

View file

@ -460,7 +460,7 @@ var JSONOnlyFlagSection = FlagSection{
{
name: "--no-jlistwrap",
help: "Wrap JSON output in outermost `[ ]`. This is the default for JSON Lines output format.",
help: "Do not wrap JSON output in outermost `[ ]`. This is the default for JSON Lines output format.",
parser: func(args []string, argc int, pargi *int, options *TOptions) {
options.WriterOptions.WrapJSONOutputInOuterList = false
*pargi += 1
@ -2392,6 +2392,15 @@ var CSVTSVOnlyFlagSection = FlagSection{
},
},
{
name: "--no-auto-unsparsify",
help: "For CSV/TSV output: if the record keys change from one row to another, emit a blank line and a new header line. This is non-compliant with RFC 4180 but it helpful for heterogeneous data.",
parser: func(args []string, argc int, pargi *int, options *TOptions) {
options.WriterOptions.NoAutoUnsparsify = true
*pargi += 1
},
},
{
name: "--implicit-csv-header",
altNames: []string{"--headerless-csv-input", "--hi", "--implicit-tsv-header"},