mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-17 16:38:54 +00:00
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:
parent
03b8cce048
commit
e714738a7d
16 changed files with 143 additions and 71 deletions
|
|
@ -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"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue