Skip to content

Commit e3d28e8

Browse files
committed
Fix csvsort -c help text. Closes wireservice#373.
1 parent fa6bade commit e3d28e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

csvkit/utilities/csvsort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def add_arguments(self):
1515
self.argparser.add_argument('-n', '--names', dest='names_only', action='store_true',
1616
help='Display column names and indices from the input CSV and exit.')
1717
self.argparser.add_argument('-c', '--columns', dest='columns',
18-
help='A comma separated list of column indices or names to be extracted. Defaults to all columns.')
18+
help='A comma separated list of column indices or names to sort by. Defaults to all columns.')
1919
self.argparser.add_argument('-r', '--reverse', dest='reverse', action='store_true',
2020
help='Sort in descending order.')
2121
self.argparser.add_argument('--no-inference', dest='no_inference', action='store_true',

docs/scripts/csvsort.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Sort CSV files. Like unix "sort" command, but for tabular data::
2727
and exit.
2828
-c COLUMNS, --columns COLUMNS
2929
A comma separated list of column indices or names to
30-
be extracted. Defaults to all columns.
30+
sort by. Defaults to all columns.
3131
-r, --reverse Sort in descending order.
3232
--no-inference Disable type inference when parsing the input.
3333

0 commit comments

Comments
 (0)