summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-02-08 06:40:54 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-02-08 06:40:54 -0800
commit42e024e6d5c09b8a3aee50160ef825e7362f3bef (patch)
treef4847e192b68d49d35b632cc7965e99d9a514ca7
parentf3da4f650dd867041b974cc2d9ecdde6d82ba1d2 (diff)
downloadtxr-42e024e6d5c09b8a3aee50160ef825e7362f3bef.tar.gz
txr-42e024e6d5c09b8a3aee50160ef825e7362f3bef.tar.bz2
txr-42e024e6d5c09b8a3aee50160ef825e7362f3bef.zip
doc: document feature of multi-sort.
* txr.1: Document that multi-sort takes a single function in place of a list of one function. This has been a feature of the implementation from the beginning.
-rw-r--r--txr.14
1 files changed, 4 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index e8fd0eeb..5c98279e 100644
--- a/txr.1
+++ b/txr.1
@@ -21677,6 +21677,10 @@ one compare
.codn equal ,
then the corresponding second column elements are compared
using the second column comparison function.
+The
+.meta less-funcs
+argument may be a function object, in which case it is treated as if
+it were a one-element list containing that function object.
The optional
.meta key-funcs