summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-21 15:42:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-21 15:42:18 (GMT)
commit5f27d2b0e9c21f9e6aee742a1c7fad86cffbf63e (patch)
treea3591a128bf286074eda15a3dba3096a7df4505e /doc
parent02dc5025667bd7d9e95e19ee6c9183b674661ac4 (diff)
downloadtcl-5f27d2b0e9c21f9e6aee742a1c7fad86cffbf63e.zip
tcl-5f27d2b0e9c21f9e6aee742a1c7fad86cffbf63e.tar.gz
tcl-5f27d2b0e9c21f9e6aee742a1c7fad86cffbf63e.tar.bz2
Clearify documentation regarding [a7c1c2c7e5]
Diffstat (limited to 'doc')
-rw-r--r--doc/lsearch.n3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lsearch.n b/doc/lsearch.n
index c2644b8..efe1792 100644
--- a/doc/lsearch.n
+++ b/doc/lsearch.n
@@ -22,7 +22,8 @@ This command searches the elements of \fIlist\fR to see if one
of them matches \fIpattern\fR. If so, the command returns the index
of the first matching element
(unless the options \fB\-all\fR or \fB\-inline\fR are specified.)
-If not, the command returns \fB\-1\fR. The \fIoption\fR arguments
+If not, the command returns \fB\-1\fR or (if options \fB\-all\fR
+or \fB\-inline\fR are specified) the empty string. The \fIoption\fR arguments
indicates how the elements of the list are to be matched against
\fIpattern\fR and must have one of the values below:
.SS "MATCHING STYLE OPTIONS"