diff --git a/README.md b/README.md index cffc8e7..f927756 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/tests/data/help/cmd_and_expected_output b/tests/data/help/cmd_and_expected_output index 1119f9e..1267dbe 100644 --- a/tests/data/help/cmd_and_expected_output +++ b/tests/data/help/cmd_and_expected_output @@ -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 diff --git a/tsv2table b/tsv2table index e62e54e..1282de5 100755 --- a/tsv2table +++ b/tsv2table @@ -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