summaryrefslogtreecommitdiffstats
path: root/doc/info.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-10-25 22:03:30 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-10-25 22:03:30 (GMT)
commitcc0d7ee19970bbd25753a4076ed5d0a4b44ff68d (patch)
tree6614df9200f81b3cfa5e989eaa1eec601d55e817 /doc/info.n
parent6855a1fa6afb4654fbdd7614af54edae396a2474 (diff)
downloadtcl-cc0d7ee19970bbd25753a4076ed5d0a4b44ff68d.zip
tcl-cc0d7ee19970bbd25753a4076ed5d0a4b44ff68d.tar.gz
tcl-cc0d7ee19970bbd25753a4076ed5d0a4b44ff68d.tar.bz2
Clarified meaning of pattern arg to [info procs]
Diffstat (limited to 'doc/info.n')
-rw-r--r--doc/info.n7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/info.n b/doc/info.n
index 869d738..bfa1036 100644
--- a/doc/info.n
+++ b/doc/info.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: info.n,v 1.11 2004/08/31 15:19:36 dkf Exp $
+'\" RCS: @(#) $Id: info.n,v 1.12 2004/10/25 22:03:31 dkf Exp $
'\"
.so man.macros
.TH info n 8.4 Tcl "Tcl Built-In Commands"
@@ -163,6 +163,11 @@ only those procedure names in the current namespace
matching \fIpattern\fR are returned.
Matching is determined using the same rules as for
\fBstring match\fR.
+If \fIpattern\fR contains any namespace separators, they are used to
+select a namespace relative to the current namespace (or relative to
+the global namespace if \fIpattern\fR starts with \fB::\fR) to match
+within; the matching pattern is taken to be the part after the last
+namespace separator.
.TP
\fBinfo script\fR ?\fIfilename\fR?
If a Tcl script file is currently being evaluated (i.e. there is a