summaryrefslogtreecommitdiffstats
path: root/doc/info.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2018-09-27 11:06:59 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2018-09-27 11:06:59 (GMT)
commit6ec7c04557d86c9e5ddec92b3594634dba89e007 (patch)
tree616920c66a387ef483f073ca812179a6cb5d8069 /doc/info.n
parentbfdc5233ebf3c77c4d276dbc6933ed0b1df4965a (diff)
downloadtcl-6ec7c04557d86c9e5ddec92b3594634dba89e007.zip
tcl-6ec7c04557d86c9e5ddec92b3594634dba89e007.tar.gz
tcl-6ec7c04557d86c9e5ddec92b3594634dba89e007.tar.bz2
Restricted the information made available to safe interpreters a bit.
Diffstat (limited to 'doc/info.n')
-rw-r--r--doc/info.n8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/info.n b/doc/info.n
index 99d11d5..5732a13 100644
--- a/doc/info.n
+++ b/doc/info.n
@@ -45,12 +45,14 @@ Returns a count of the total number of commands that have been invoked
in this interpreter.
.TP
\fBinfo cmdtype \fIcommandName\fR
-.VS "info cmdtype feature"
+.VS TIP426
Returns a description of the kind of command named by \fIcommandName\fR. The
supported types are:
.RS
.IP \fBalias\fR
-Indicates that \fIcommandName\fR was created by \fBinterp alias\fR.
+Indicates that \fIcommandName\fR was created by \fBinterp alias\fR. Note that
+safe interpreters can only see a subset of aliases (specifically those between
+two commands within themselves).
.IP \fBcoroutine\fR
Indicates that \fIcommandName\fR was created by \fBcoroutine\fR.
.IP \fBensemble\fR
@@ -76,7 +78,7 @@ Indicates that \fIcommandName\fR was created by \fBzlib stream\fR.
There may be other registered types as well; this is a set that is extensible
at the implementation level with \fBTcl_RegisterCommandTypeName\fR.
.RE
-.VE "info cmdtype feature"
+.VE TIP426
.TP
\fBinfo commands \fR?\fIpattern\fR?
.