From 28533d82ea038848d80fe995d9a992401a77945f Mon Sep 17 00:00:00 2001 From: dkf Date: Thu, 3 Oct 2002 13:08:54 +0000 Subject: Improved [lsearch] docs; -sorted interaction with other options. [Bug 617816] --- ChangeLog | 5 +++++ doc/lsearch.n | 7 ++++--- 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 + + * doc/lsearch.n: Better specification of what happens when -sorted + is mixed with other options. [Bug 617816] + 2002-10-01 Jeff Hobbs * 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 -- cgit v0.12