summaryrefslogtreecommitdiffstats
path: root/contrib/tcl/library/opt0.1/pkgIndex.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tcl/library/opt0.1/pkgIndex.tcl')
-rw-r--r--contrib/tcl/library/opt0.1/pkgIndex.tcl7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/tcl/library/opt0.1/pkgIndex.tcl b/contrib/tcl/library/opt0.1/pkgIndex.tcl
new file mode 100644
index 0000000..4e660cd
--- /dev/null
+++ b/contrib/tcl/library/opt0.1/pkgIndex.tcl
@@ -0,0 +1,7 @@
+# Tcl package index file, version 1.0
+# This file is NOT generated by the "pkg_mkIndex" command
+# because if someone just did "package require opt", let's just load
+# the package now, so they can readily use it
+# and even "namespace import tcl::*" ...
+# (tclPkgSetup just makes things slow and do not work so well with namespaces)
+package ifneeded opt 0.1 [list source [file join $dir optparse.tcl]]
OpenPOWER on IntegriCloud