Improved error message

This commit is contained in:
Mike Farah
2021-12-05 10:58:26 +11:00
parent d0fda699e4
commit 8b04d972f3
5 changed files with 78 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# Sort
Sorts an array. Use `sort` to sort an array as is, or `sort_by` to sort by a particular subfield.
Sorts an array. Use `sort` to sort an array as is, or `sort_by(exp)` to sort by a particular expression (e.g. subfield).
Note that at this stage, `yq` only sorts scalar fields.