diff options
Diffstat (limited to 'doc/package.n')
-rw-r--r-- | doc/package.n | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/package.n b/doc/package.n index aafce5e..1ded115 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.22 2007/12/13 15:22:33 dgp Exp $ +'\" RCS: @(#) $Id: package.n,v 1.22.2.1 2010/03/31 20:53:04 dkf Exp $ '\" .so man.macros .TH package n 7.5 Tcl "Tcl Built-In Commands" @@ -79,7 +79,8 @@ 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. .TP @@ -95,7 +96,7 @@ returns the version number that is currently provided, or an empty string if no \fBpackage provide\fR command has been invoked for \fIpackage\fR in this interpreter. .TP -\fBpackage require \fR\fIpackage \fR?\fIrequirement...\fR? +\fBpackage require\fR \fIpackage \fR?\fIrequirement...\fR? This command is typically invoked by Tcl code that wishes to use a particular version of a particular package. The arguments indicate which package is wanted, and the command ensures that |