Skip to content

Commit

Permalink
updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nodesocket committed Feb 12, 2017
1 parent b431275 commit 7cac44b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,8 @@ Usage: jsonlite command <command-specific-options>
```
➜ jsonlite
JSONlite 1.0.0
set is using: json_reformat (fastest)
Data directory path: /tmp/jsonlite.data
- Set is using: json_reformat (fastest)
- Data directory path: /tmp/jsonlite.data
Usage: jsonlite command <command-specific-options>
Expand Down
9 changes: 4 additions & 5 deletions jsonlite.bash
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,14 @@ jsonlite_info() {
jsonlite_version

if command -v json_reformat > /dev/null 2>&1; then
echo " set is using: json_reformat (fastest)"
echo " - Set is using: json_reformat (fastest)"
elif command -v jq > /dev/null 2>&1; then
echo " set is using: jq (fast)"
echo " - Set is using: jq (fast)"
else
echo " set is using: python -m json.tool (slow)"
echo " - Set is using: python -m json.tool (slowest)"
fi

echo
echo "Data directory path: $JSONLITE_DATA_DIR"
echo " - Data directory path: $JSONLITE_DATA_DIR"
echo
}

Expand Down

0 comments on commit 7cac44b

Please sign in to comment.