Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-04-01
03:58 • Closed ticket [2980210fff]: man for "package present" is missing argum... artifact: 0635aadcb8 user: dgp
03:34 • Ticket [2980210fff]: 1 change artifact: 9c7e15ae63 user: dgp
2010-03-31
20:11 • New ticket [2980210fff]. artifact: d75ad9f680 user: bovineone

man for "package present" is missing argument

Closed / Fixed2980210fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2010-03-31 20:11:08
The man page (man n package) lists "package present" as not taking any argument, yet it requires one.

This is seen in tcl-8.5.7

       package names
              Returns a list of the names of all packages in  the  interpreter
              for  which  a version has been provided (via package provide) or
              for which a package ifneeded script is available.  The order  of
              elements in the list is arbitrary.

       package present
              This  command  is  equivalent  to package require except that it
              does not try and load the package if it is not already loaded.

       package provide package ?version?
              This command is invoked to  indicate  that  version  version  of
              package  package is now present in the interpreter.  It is typi-
              cally invoked once as part of an ifneeded script, and  again  by
dgp Ticket [2980210fff]: 1 change [History diff]2010-04-01 03:34:53
dgpplain2010-04-01 03:58:56
allow_comments - 1
Log in (anonymous is fine) to add a comment.