Skip to content

Commit

Permalink
Better --help
Browse files Browse the repository at this point in the history
  • Loading branch information
bessarabov committed Oct 8, 2023
1 parent ba509a7 commit 4cd4d9a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ Converts tsv data into a human-readable table.
## --header=auto
When the `--header=auto` option is specified, a simple heuristic is applied to
determine the presence of a header. This determination is made by examining the
first and the seconds rows of data. If the first row exclusively contains
string values, and the second row contains values that are not strings, it is
inferred that the data has a header.
detect the presence of a header. This detection is made by examining the
first and the second rows of data. If the first row contains only
string values, and the second row contains non-string values,
then it is considered that the data has a header.
## Project Repository
Expand Down
8 changes: 4 additions & 4 deletions tests/data/help/cmd_and_expected_output
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ Converts tsv data into a human-readable table.
## --header=auto

When the `--header=auto` option is specified, a simple heuristic is applied to
determine the presence of a header. This determination is made by examining the
first and the seconds rows of data. If the first row exclusively contains
string values, and the second row contains values that are not strings, it is
inferred that the data has a header.
detect the presence of a header. This detection is made by examining the
first and the second rows of data. If the first row contains only
string values, and the second row contains non-string values,
then it is considered that the data has a header.

## Project Repository

Expand Down
8 changes: 4 additions & 4 deletions tsv2table
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ Converts tsv data into a human-readable table.
## --header=auto
When the `--header=auto` option is specified, a simple heuristic is applied to
determine the presence of a header. This determination is made by examining the
first and the seconds rows of data. If the first row exclusively contains
string values, and the second row contains values that are not strings, it is
inferred that the data has a header.
detect the presence of a header. This detection is made by examining the
first and the second rows of data. If the first row contains only
string values, and the second row contains non-string values,
then it is considered that the data has a header.
## Project Repository
Expand Down

0 comments on commit 4cd4d9a

Please sign in to comment.