Add command-line option to sort object keys.

Closes #79.
This commit is contained in:
Stephen Dolan committed 2013-06-03 23:12:31 +01:00
1 parent 08cc591884
commit cc8761dbde
2 files changed
+10 -2

No files matched your search

+5 -1
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