summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2002-10-03 13:08:54 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2002-10-03 13:08:54 (GMT)
commit28533d82ea038848d80fe995d9a992401a77945f (patch)
tree66ab36a545c8c9e5f5a9404a0d4a2e43c21eb8a6
parent94460e0af03da284aa9274aa81d4df5a24823194 (diff)
downloadtcl-28533d82ea038848d80fe995d9a992401a77945f.zip
tcl-28533d82ea038848d80fe995d9a992401a77945f.tar.gz
tcl-28533d82ea038848d80fe995d9a992401a77945f.tar.bz2
Improved [lsearch] docs; -sorted interaction with other options. [Bug 617816]
-rw-r--r--ChangeLog5
-rw-r--r--doc/lsearch.n7
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index cb43cf4..48a5714 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-03 Donal K. Fellows <fellowsd@cs.man.ac.uk>
+
+ * doc/lsearch.n: Better specification of what happens when -sorted
+ is mixed with other options. [Bug 617816]
+
2002-10-01 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tclProc.c (TclCreateProc): mask out VAR_UNDEFINED for
diff --git a/doc/lsearch.n b/doc/lsearch.n
index 2a881d3..77482bf 100644
--- a/doc/lsearch.n
+++ b/doc/lsearch.n
@@ -6,7 +6,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: lsearch.n,v 1.12 2002/08/08 22:11:13 hobbs Exp $
+'\" RCS: @(#) $Id: lsearch.n,v 1.13 2002/10/03 13:08:55 dkf Exp $
'\"
.so man.macros
.TH lsearch n 8.4 Tcl "Tcl Built-In Commands"
@@ -91,8 +91,9 @@ The list elements are in sorted order. If this option is specified,
\fBlsearch\fR will use a more efficient searching algorithm to search
\fIlist\fR. If no other options are specified, \fIlist\fR is assumed
to be sorted in increasing order, and to contain ASCII strings. This
-option cannot be used with \fB\-all\fR, \fB\-glob\fR, \fB\-not\fR or
-\fB\-regexp\fR.
+option is mutually exclusive with \fB\-glob\fR and \fB\-regexp\fR, and
+is treated exactly like \fB-exact\fR when either \fB\-all\fR, or
+\fB\-not\fR is specified.
.TP
\fB\-start\fR \fIindex\fR
.VS 8.4