Skip to content

Commit

Permalink
docs: Rephase csvlook\'s --no-inference
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 18, 2023
1 parent 398024c commit 9c3eb76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion csvkit/utilities/csvlook.py
Expand Up @@ -24,7 +24,7 @@ def add_arguments(self):
'Specify "0" to disable sniffing entirely, or "-1" to sniff the entire file.')
self.argparser.add_argument(
'-I', '--no-inference', dest='no_inference', action='store_true',
help='Disable type inference when parsing the input. Disable reformatting of values.')
help='Disable type inference when parsing the input. This disables the reformatting of values.')

def main(self):
if self.additional_input_expected():
Expand Down
7 changes: 4 additions & 3 deletions docs/scripts/csvlook.rst
Expand Up @@ -36,9 +36,10 @@ Renders a CSV to the command line in a Markdown-compatible, fixed-width format:
remainder will be replaced with ellipsis.
-y SNIFF_LIMIT, --snifflimit SNIFF_LIMIT
Limit CSV dialect sniffing to the specified number of
bytes. Specify "0" to disable sniffing.
-I, --no-inference Disable type inference when parsing the input.
Disable reformatting of values.
bytes. Specify "0" to disable sniffing entirely, or
"-1" to sniff the entire file.
-I, --no-inference Disable type inference when parsing the input. This
disables the reformatting of values.
If a table is too wide to display properly try piping the output to ``less -S`` or truncating it using :doc:`csvcut`.

Expand Down

0 comments on commit 9c3eb76

Please sign in to comment.