Skip to content

Commit

Permalink
v2.4.0
Browse files Browse the repository at this point in the history
Also fix rename to -t, since -h is help
  • Loading branch information
Ilya Radchenko committed Jun 4, 2015
1 parent b04684d commit d46f7fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ Options:
-l, --fieldList [list] Specify a file with a list of fields to include. One field per line.
-d, --delimiter [delim] Specify a delimiter other than the default comma to use.
-e, --eol [value] Specify an EOL value after each row.
-t, --header Disable the column name header
-p, --pretty Use only when printing to console. Logs output in pretty tables.
```

Expand Down
2 changes: 1 addition & 1 deletion bin/json2csv.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ program
.option('-l, --fieldList [list]', 'Specify a file with a list of fields to include. One field per line.')
.option('-d, --delimiter [delimiter]', 'Specify a delimiter other than the default comma to use.')
.option('-e, --eol [value]', 'Specify an EOL value after each row.')
.option('-h, --header', 'Disable the column name header')
.option('-t, --header', 'Disable the column name header')
.option('-p, --pretty', 'Use only when printing to console. Logs output in pretty tables.')
.parse(process.argv);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "json2csv",
"preferGlobal": "true",
"version": "2.3.0",
"version": "2.4.0",
"description": "Convert json to csv with column titles",
"keywords": [
"json",
Expand Down

0 comments on commit d46f7fc

Please sign in to comment.