1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Add command-line option to sort object keys.

Closes #79.
This commit is contained in:
Stephen Dolan
2013-05-29 11:43:55 +01:00
parent 08cc591884
commit cc8761dbde
2 changed files with 10 additions and 2 deletions

View File

@@ -113,7 +113,11 @@ sections:
"\u03bc"). Using this option, you can force jq to produce pure
ASCII output with every non-ASCII character replaced with the
equivalent escape sequence.
* `--sort-keys` / `-S`:
Output the fields of each object with the keys in sorted order.
* `--raw-output` / `-r`:
With this option, if the filter's result is a string then it