<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1 +1 @@
-Subproject commit 2089146b49b0881369bc512ffafd6d8956803fba
+Subproject commit 479d78b1f93bc36164b5b9aff4a89d7b5f43b7b7</diff>
      <filename>lazydoc</filename>
    </modified>
    <modified>
      <diff>@@ -43,7 +43,7 @@ Now from the command line:
   --------------------------------------------------------------------------------
     Says goodnight with a configurable message.
   --------------------------------------------------------------------------------
-  usage: rap goodnight OBJ
+  usage: tap run -- goodnight OBJ
 
   configurations:
           --message MESSAGE</diff>
      <filename>rap/README</filename>
    </modified>
    <modified>
      <diff>@@ -81,7 +81,7 @@ end
       sh_test &quot;% rap task_with_doc --help&quot; do |output|
         assert output =~ /RapTest::TaskWithDoc -- task summary/
         assert output =~ /long description/
-        assert output =~ /usage: rap rap_test\/task_with_doc/
+        assert output =~ /rap_test\/task_with_doc/
       end
       
       sh_test &quot;% rap task_with_empty_desc --help&quot; do |output|
@@ -91,12 +91,12 @@ end
       
       sh_test &quot;% rap task_without_doc --help&quot; do |output|
         assert output =~ /RapTest::TaskWithoutDoc/
-        assert output =~ /usage: rap rap_test\/task_without_doc/
+        assert output =~ /rap_test\/task_without_doc/
       end
     
       sh_test &quot;% rap task_with_desc --help&quot; do |output|
         assert output =~ /RapTest::TaskWithDesc -- desc/
-        assert output =~ /usage: rap rap_test\/task_with_desc/
+        assert output =~ /rap_test\/task_with_desc/
       end
     end
   end
@@ -142,11 +142,11 @@ end
 
     method_root.chdir(:tmp) do
       sh_test &quot;% rap task_without_args --help&quot; do |output|
-        assert output =~ /usage: rap rap_test\/task_without_args\s*$/
+        assert output =~ /rap_test\/task_without_args\s*$/
       end
       
       sh_test &quot;% rap task_with_args --help&quot; do |output|
-        assert output =~ /usage: rap rap_test\/task_with_args A B\s*$/
+        assert output =~ /rap_test\/task_with_args A B\s*$/
       end
     end
   end</diff>
      <filename>rap/test/cmd/rap_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -44,7 +44,7 @@ goodnight moon
       sh_test &quot;% rap goodnight --help&quot; do |output|
         assert output =~ /Goodnight -- your basic goodnight moon task/
         assert output =~ /Says goodnight with a configurable message/
-        assert output =~ /rap goodnight OBJ/
+        assert output =~ /tap run -- goodnight OBJ/
         assert output =~ /--message MESSAGE/
       end
     end</diff>
      <filename>rap/test/doc/readme_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -37,7 +37,7 @@ Now from the command line:
   --------------------------------------------------------------------------------
     Says goodnight with a configurable message.
   --------------------------------------------------------------------------------
-  usage: rap goodnight OBJ
+  usage: tap run -- goodnight OBJ
 
   configurations:
           --message MESSAGE
@@ -180,7 +180,7 @@ Now from the command line:
   --------------------------------------------------------------------------------
     Says goodnight with a configurable message.
   --------------------------------------------------------------------------------
-  usage: rap goodnight OBJECTS...
+  usage: tap run -- goodnight OBJECTS...
 
   configurations:
           --message MESSAGE            a goodnight message</diff>
      <filename>tap-suite/doc/Tutorial</filename>
    </modified>
    <modified>
      <diff>@@ -43,7 +43,7 @@ Goodnight -- your basic goodnight moon task
 --------------------------------------------------------------------------------
   Says goodnight with a configurable message.
 --------------------------------------------------------------------------------
-usage: rap goodnight OBJ
+usage: tap run -- goodnight OBJ
 
 configurations:
         --message MESSAGE
@@ -142,7 +142,7 @@ Goodnight -- a fancy goodnight moon task
 --------------------------------------------------------------------------------
   Says goodnight with a configurable message.
 --------------------------------------------------------------------------------
-usage: rap goodnight OBJECTS...
+usage: tap run -- goodnight OBJECTS...
 
 configurations:
         --message MESSAGE            a goodnight message</diff>
      <filename>tap-suite/test/doc/tutorial_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -159,12 +159,7 @@ module Tap
         
         # add option to print help
         opts.on(&quot;--help&quot;, &quot;Print this help&quot;) do
-          prg = case $0
-          when /rap$/ then 'rap'
-          else 'tap run --'
-          end
-          
-          puts &quot;#{help}usage: #{prg} #{to_s.underscore} #{args}&quot;
+          puts &quot;#{help}usage: tap run -- #{to_s.underscore} #{args}&quot;
           puts          
           puts opts
           exit
@@ -185,18 +180,7 @@ module Tap
       # Instantiates an instance of self and returns an instance of self and
       # an array of arguments (implicitly to be enqued to the instance).
       def instantiate(argh={}, app=Tap::App.instance)
-        config = argh[:config] || {}
-        instance = new(config, app)
-        
-        if argh[:cache]
-          if app.cache.has_key?(self) &amp;&amp; app.cache[self] != instance
-            raise &quot;cache already has an instance for: #{self}&quot;
-          end
-        
-          app.cache[self] = instance
-        end
-        
-        instance
+        new(argh[:config] || {}, app)
       end
 
       DEFAULT_HELP_TEMPLATE = %Q{&lt;% desc = task_class::desc %&gt;</diff>
      <filename>tap/lib/tap/task.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4eb534c88242cbc429a898784fd5706478099a0c</id>
    </parent>
  </parents>
  <author>
    <name>Simon Chiang</name>
    <email>simon.a.chiang@gmail.com</email>
  </author>
  <url>http://github.com/bahuvrihi/tap/commit/d9647441e17f3b12a484afb1e044dfc7cdbc3df9</url>
  <id>d9647441e17f3b12a484afb1e044dfc7cdbc3df9</id>
  <committed-date>2009-06-14T11:14:55-07:00</committed-date>
  <authored-date>2009-06-14T11:14:55-07:00</authored-date>
  <message>simplification of task help (no rap usage)</message>
  <tree>d7e94019234d815f3966b5f7c49f2ae18ace5719</tree>
  <committer>
    <name>Simon Chiang</name>
    <email>simon.a.chiang@gmail.com</email>
  </committer>
</commit>
