summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-03-31 20:55:52 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-03-31 20:55:52 (GMT)
commit6d27e86631ffc72aed00d1acc29dedc90c329cbb (patch)
treefffd9ef26fab11184f94cdb863c1d7c57d6be81c
parentcba938f2dc8da1903c146685526669dcbc31ed43 (diff)
downloadtcl-6d27e86631ffc72aed00d1acc29dedc90c329cbb.zip
tcl-6d27e86631ffc72aed00d1acc29dedc90c329cbb.tar.gz
tcl-6d27e86631ffc72aed00d1acc29dedc90c329cbb.tar.bz2
* doc/package.n: [Bug 2980210]: Document the arguments taken by
the [package present] command correctly.
-rw-r--r--ChangeLog3
-rw-r--r--doc/package.n4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 229d1fe..ed41c92 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2010-03-31 Donal K. Fellows <dkf@users.sf.net>
+ * doc/package.n: [Bug 2980210]: Document the arguments taken by
+ the [package present] command correctly.
+
* doc/Thread.3: Added some better documentation of how to create and
use a thread using the C-level thread API, based on realization that
no such tutorial appeared to exist.
diff --git a/doc/package.n b/doc/package.n
index 9e2cf75..034cc18 100644
--- a/doc/package.n
+++ b/doc/package.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.
'\"
-'\" RCS: @(#) $Id: package.n,v 1.24 2010/01/20 13:42:17 dkf Exp $
+'\" RCS: @(#) $Id: package.n,v 1.25 2010/03/31 20:55:52 dkf Exp $
'\"
.so man.macros
.TH package n 7.5 Tcl "Tcl Built-In Commands"
@@ -81,7 +81,7 @@ interpreter for which a version has been provided (via
script is available.
The order of elements in the list is arbitrary.
.TP
-\fBpackage present\fR
+\fBpackage present\fR ?\fB\-exact\fR? \fIpackage\fR ?\fIrequirement...\fR?
.
This command is equivalent to \fBpackage require\fR except that it
does not try and load the package if it is not already loaded.