summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-27 14:49:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-27 14:49:06 (GMT)
commitcc771f1b47c74ca5f84abaf3e05d892da7eb678c (patch)
tree9267b46a539450e471280a3d92ab411a6c09450c /doc
parentf08cbe00fd1ac3c0a36e15bcc98778d4c5c12679 (diff)
downloadtcl-cc771f1b47c74ca5f84abaf3e05d892da7eb678c.zip
tcl-cc771f1b47c74ca5f84abaf3e05d892da7eb678c.tar.gz
tcl-cc771f1b47c74ca5f84abaf3e05d892da7eb678c.tar.bz2
Fix [7703ff1082]: extra argument ?pattern? of parray is not documented
Diffstat (limited to 'doc')
-rw-r--r--doc/library.n17
1 files changed, 9 insertions, 8 deletions
diff --git a/doc/library.n b/doc/library.n
index e9f81ac..79817f2 100644
--- a/doc/library.n
+++ b/doc/library.n
@@ -4,7 +4,7 @@
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-'\"
+'\"
.TH library n "8.0" Tcl "Tcl Built-In Commands"
.so man.macros
.BS
@@ -20,7 +20,7 @@ auto_execok, auto_import, auto_load, auto_mkindex, auto_mkindex_old, auto_qualif
\fBauto_qualify \fIcommand namespace\fR
\fBauto_reset\fR
\fBtcl_findLibrary \fIbasename version patch initScript enVarName varName\fR
-\fBparray \fIarrayName\fR
+\fBparray \fIarrayName\fR ?\fIpattern\fR?
\fBtcl_endOfWord \fIstr start\fR
\fBtcl_startOfNextWord \fIstr start\fR
\fBtcl_startOfPreviousWord \fIstr start\fR
@@ -133,7 +133,7 @@ as its first characters then it is assumed to be a procedure
definition and the next word of the line is taken as the
procedure's name.
Procedure definitions that do not appear in this way (e.g. they
-have spaces before the \fBproc\fR) will not be indexed. If your
+have spaces before the \fBproc\fR) will not be indexed. If your
script contains
.QW dangerous
code, such as global initialization
@@ -171,7 +171,7 @@ performing the actual auto-loading of functions at runtime.
This is a standard search procedure for use by extensions during
their initialization. They call this procedure to look for their
script library in several standard directories.
-The last component of the name of the library directory is
+The last component of the name of the library directory is
normally \fIbasenameversion\fR
(e.g., tk8.0), but it might be
.QW library
@@ -189,9 +189,10 @@ bin or bin/\fIarch\fR directory;
relative to the executable file in the current build tree;
relative to the executable file in a parallel build tree.
.TP
-\fBparray \fIarrayName\fR
+\fBparray \fIarrayName\fR\ ?\fIpattern\fR?
Prints on standard output the names and values of all the elements
-in the array \fIarrayName\fR.
+in the array \fIarrayName\fR that match \fIpattern\fR (using the
+matching rules of \fBstring match\fR).
\fBArrayName\fR must be an array accessible to the caller of \fBparray\fR.
It may be either local or global.
.TP
@@ -270,7 +271,7 @@ a default value is used.
.TP
\fBenv(TCLLIBPATH)\fR
If set, then it must contain a valid Tcl list giving directories to
-search during auto-load operations. Directories must be specified in
+search during auto-load operations. Directories must be specified in
Tcl format, using
.QW /
as the path separator, regardless of platform.
@@ -295,4 +296,4 @@ Unix, words are comprised of numbers, letters or underscores.
.SH "SEE ALSO"
info(n), re_syntax(n)
.SH KEYWORDS
-auto-exec, auto-load, library, unknown, word, whitespace
+auto-exec, auto-load, library, unknown, word, whitespace