summaryrefslogtreecommitdiffstats
path: root/library/opt0.1/pkgIndex.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/opt0.1/pkgIndex.tcl')
-rw-r--r--library/opt0.1/pkgIndex.tcl7
1 files changed, 7 insertions, 0 deletions
diff --git a/library/opt0.1/pkgIndex.tcl b/library/opt0.1/pkgIndex.tcl
new file mode 100644
index 0000000..7a7ad90
--- /dev/null
+++ b/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.2 [list source [file join $dir optparse.tcl]]