<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -23,7 +23,7 @@
 # IN THE SOFTWARE.
 #++
 
-RAKEVERSION = '0.8.99.2'
+RAKEVERSION = '0.8.99.3'
 
 require 'rbconfig'
 require 'fileutils'</diff>
      <filename>lib/rake.rb</filename>
    </modified>
    <modified>
      <diff>@@ -45,15 +45,16 @@ module Rake
       @tty_output = STDOUT.tty?
     end
 
-    # Run the Rake application.  The run method performs the following three steps:
+    # Run the Rake application.  The run method performs the following
+    # three steps:
     #
     # * Initialize the command line options (+init+).
     # * Define the tasks (+load_rakefile+).
     # * Run the top level tasks (+run_tasks+).
     #
-    # If you wish to build a custom rake command, you should call +init+ on your
-    # application.  The define any tasks.  Finally, call +top_level+ to run your top
-    # level tasks.
+    # If you wish to build a custom rake command, you should call
+    # +init+ on your application.  The define any tasks.  Finally,
+    # call +top_level+ to run your top level tasks.
     def run
       standard_exception_handling do
         init
@@ -369,7 +370,12 @@ module Rake
             Rake::TaskManager.record_task_metadata = true
           }
         ],
-        ['--top-level-dsl', '-X', &quot;Put Rake DSL commands in the top level scope.&quot;,
+        ['--no-top-level-dsl', '-X', &quot;Do no put Rake DSL commands in the top level scope.&quot;,
+          lambda { |value|
+            options.top_level_dsl = ! value
+          }
+        ],
+        ['--top-level-dsl', &quot;Put Rake DSL commands in the top level scope.&quot;,
           lambda { |value|
             options.top_level_dsl = value
           }
@@ -402,6 +408,7 @@ module Rake
     # Read and handle the command line options.
     def handle_options
       options.rakelib = ['rakelib']
+      options.top_level_dsl = true
 
       OptionParser.new do |opts|
         opts.banner = &quot;rake [-f rakefile] {options} targets...&quot;</diff>
      <filename>lib/rake/application.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4e8233da4da833f357616001677f3ee32f5c6d27</id>
    </parent>
  </parents>
  <author>
    <name>Jim Weirich</name>
    <email>jim.weirich@gmail.com</email>
  </author>
  <url>http://github.com/jimweirich/rake/commit/813408a3f9d5d11a59e330581ea75c5d5e6bcdca</url>
  <id>813408a3f9d5d11a59e330581ea75c5d5e6bcdca</id>
  <committed-date>2009-06-30T12:28:11-07:00</committed-date>
  <authored-date>2009-06-30T12:28:11-07:00</authored-date>
  <message>Fixed no top dsl option logic.</message>
  <tree>e732a3a496b0605f7481b3612d9e05aea5a81394</tree>
  <committer>
    <name>Jim Weirich</name>
    <email>jim.weirich@gmail.com</email>
  </committer>
</commit>
