Skip to content

Commit 12be2ff

Browse files
committed
docs: Rephase csvlook's --no-inference
1 parent 398024c commit 12be2ff

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

csvkit/utilities/csvlook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def add_arguments(self):
2424
'Specify "0" to disable sniffing entirely, or "-1" to sniff the entire file.')
2525
self.argparser.add_argument(
2626
'-I', '--no-inference', dest='no_inference', action='store_true',
27-
help='Disable type inference when parsing the input. Disable reformatting of values.')
27+
help='Disable type inference when parsing the input. This disables the reformatting of values.')
2828

2929
def main(self):
3030
if self.additional_input_expected():

docs/scripts/csvlook.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ Renders a CSV to the command line in a Markdown-compatible, fixed-width format:
3636
remainder will be replaced with ellipsis.
3737
-y SNIFF_LIMIT, --snifflimit SNIFF_LIMIT
3838
Limit CSV dialect sniffing to the specified number of
39-
bytes. Specify "0" to disable sniffing.
40-
-I, --no-inference Disable type inference when parsing the input.
41-
Disable reformatting of values.
39+
bytes. Specify "0" to disable sniffing entirely, or
40+
"-1" to sniff the entire file.
41+
-I, --no-inference Disable type inference when parsing the input. This
42+
disables the reformatting of values.
4243
4344
If a table is too wide to display properly try piping the output to ``less -S`` or truncating it using :doc:`csvcut`.
4445

0 commit comments

Comments
 (0)