summaryrefslogtreecommitdiffstats
path: root/doc/info.n
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-04 13:38:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-04 13:38:56 (GMT)
commit98cb2bfc19d4903738442df6575ee97ee131e2aa (patch)
treef6c3951a6770d483163e28feb3aa28892e5a7053 /doc/info.n
parent1aef6cddbf5ff7fe047f3a0a1a0e5e9ab45c6a86 (diff)
parent328461c6cf73105f97aee07048a22741b4d2cc2b (diff)
downloadtcl-98cb2bfc19d4903738442df6575ee97ee131e2aa.zip
tcl-98cb2bfc19d4903738442df6575ee97ee131e2aa.tar.gz
tcl-98cb2bfc19d4903738442df6575ee97ee131e2aa.tar.bz2
TIP [http://www.tcl.tk/cgi-bin/tct/tip/459|459] implementation, but (for now) without the "source -nopkg" part.
Diffstat (limited to 'doc/info.n')
-rw-r--r--doc/info.n7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/info.n b/doc/info.n
index 477e272..01ca10b 100644
--- a/doc/info.n
+++ b/doc/info.n
@@ -297,10 +297,11 @@ scripts are stored.
This is actually the value of the \fBtcl_library\fR
variable and may be changed by setting \fBtcl_library\fR.
.TP
-\fBinfo loaded \fR?\fIinterp\fR?
+\fBinfo loaded \fR?\fIinterp\fR? \fR?\fIpackage\fR?
.
-Returns a list describing all of the packages that have been loaded into
-\fIinterp\fR with the \fBload\fR command.
+Returns the filename loaded as part of \fIpackage\fR. If \fIpackage\fR
+is not specified, returns a list describing all of the packages
+that have been loaded into \fIinterp\fR with the \fBload\fR command.
Each list element is a sub-list with two elements consisting of the
name of the file from which the package was loaded and the name of
the package.