Allow user to specify the indentation setting on the pretty flag for the to json command (#1818)

* Allow user to specify the indentation setting on the pretty flag for the to json command

* Use "JSON" over "json"
This commit is contained in:
Joseph T. Lyons
2020-05-17 14:48:58 -04:00
committed by GitHub
parent d4dd8284a6
commit af6aff8ca3
2 changed files with 26 additions and 17 deletions

View File

@ -1,10 +1,10 @@
# to json
Converts table data into json text.
Converts table data into JSON text.
## Flags
* `-p`, `--pretty`: Formats the json text
* `-p`, `--pretty` \<integer>: Formats the JSON text with the provided indentation setting
## Example