summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-10-14 17:20:10 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-10-14 17:20:10 (GMT)
commit2b7d6e025eefe41b48ec7f948602faf2d3bf7055 (patch)
tree14d3d4e324059c624c3f6cf74f45cfccae9574db /doc
parent97449587f00016cab8acc385844a1d82f26332c6 (diff)
downloadtcl-2b7d6e025eefe41b48ec7f948602faf2d3bf7055.zip
tcl-2b7d6e025eefe41b48ec7f948602faf2d3bf7055.tar.gz
tcl-2b7d6e025eefe41b48ec7f948602faf2d3bf7055.tar.bz2
TIP#217 implementation
Diffstat (limited to 'doc')
-rw-r--r--doc/lsort.n8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/lsort.n b/doc/lsort.n
index 3763ee6..9e29db3 100644
--- a/doc/lsort.n
+++ b/doc/lsort.n
@@ -7,7 +7,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: lsort.n,v 1.16 2004/08/31 15:19:36 dkf Exp $
+'\" RCS: @(#) $Id: lsort.n,v 1.17 2004/10/14 17:20:11 dkf Exp $
'\"
.so man.macros
.TH lsort n 8.3 Tcl "Tcl Built-In Commands"
@@ -65,6 +65,12 @@ This is the default.
\fB\-decreasing\fR
Sort the list in decreasing order (``largest'' items first).
.TP 20
+\fB\-indices\fR
+.VS "8.5 (TIP#217)"
+Return a list of indices into \fIlist\fR in sorted order instead of
+the values themselves.
+.VE "8.5 (TIP#217)"
+.TP 20
\fB\-index\0\fIindexList\fR
If this option is specified, each of the elements of \fIlist\fR must
itself be a proper Tcl sublist. Instead of sorting based on whole