<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -575,6 +575,14 @@ module Rake # :nodoc: all
       @rakefile ||= ''
       sake_original_have_rakefile(*args) || true
     end
+  
+    ##
+    # Accept only one task, unlike Rake, to make passing arguments cleaner.
+    alias_method :sake_original_collect_tasks, :collect_tasks
+    def collect_tasks
+      sake_original_collect_tasks
+      @top_level_tasks = [@top_level_tasks.first]
+    end
   end
 end
 </diff>
      <filename>lib/sake.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3dbb1000e4da50bf0343ddea3f741e456fdc9f0b</id>
    </parent>
  </parents>
  <author>
    <name>Grant Hollingworth</name>
    <email>grant@antiflux.org</email>
  </author>
  <url>http://github.com/defunkt/sake/commit/f96ffbc9c46c98ad0f2c16e1b3301e59939ef406</url>
  <id>f96ffbc9c46c98ad0f2c16e1b3301e59939ef406</id>
  <committed-date>2008-05-08T10:06:32-07:00</committed-date>
  <authored-date>2008-05-08T10:06:32-07:00</authored-date>
  <message>only run the first arg as a task</message>
  <tree>1d3ae8a398feb661192eeafbd0bf728118b58755</tree>
  <committer>
    <name>Grant Hollingworth</name>
    <email>grant@antiflux.org</email>
  </committer>
</commit>
