From 594baa638e3e1ec50b08d5ca4f288e9d1171e72c Mon Sep 17 00:00:00 2001 From: John Kerl Date: Sat, 17 Feb 2024 12:21:07 -0500 Subject: [PATCH] typofix --- pkg/transformers/sparsify.go | 4 +--- test/cases/cli-help/0001/expout | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/pkg/transformers/sparsify.go b/pkg/transformers/sparsify.go index be1a6de73a..b6ae40c516 100644 --- a/pkg/transformers/sparsify.go +++ b/pkg/transformers/sparsify.go @@ -38,9 +38,7 @@ specified value). Only makes sense with output format not being CSV or TSV. fmt.Fprintf(o, "-h|--help Show this message.\n") fmt.Fprint(o, - `Example: if the input is two records, one being 'a=1,b=2' and the other -being 'b=3,c=4', then the output is the two records 'a=1,b=2,c=' and -'a=,b=3,c=4'. + `Example: if input is a=1,b=,c=3 then output is a=1,c=3. `) } diff --git a/test/cases/cli-help/0001/expout b/test/cases/cli-help/0001/expout index 07ca9d0961..95b4d3f141 100644 --- a/test/cases/cli-help/0001/expout +++ b/test/cases/cli-help/0001/expout @@ -998,9 +998,7 @@ Options: -f {a,b,c} Specify field names to be operated on; any other fields won't be modified. The default is to modify all fields. -h|--help Show this message. -Example: if the input is two records, one being 'a=1,b=2' and the other -being 'b=3,c=4', then the output is the two records 'a=1,b=2,c=' and -'a=,b=3,c=4'. +Example: if input is a=1,b=,c=3 then output is a=1,c=3. ================================================================ split