buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vbo...@apache.org
Subject svn commit: r706505 - /incubator/buildr/trunk/lib/buildr/core/help.rb
Date Tue, 21 Oct 2008 04:01:23 GMT
Author: vborja
Date: Mon Oct 20 21:01:22 2008
New Revision: 706505

URL: http://svn.apache.org/viewvc?rev=706505&view=rev
Log:
We have no Application#usage method, so I've modified the help task to print the usage string.

Modified:
    incubator/buildr/trunk/lib/buildr/core/help.rb

Modified: incubator/buildr/trunk/lib/buildr/core/help.rb
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/lib/buildr/core/help.rb?rev=706505&r1=706504&r2=706505&view=diff
==============================================================================
--- incubator/buildr/trunk/lib/buildr/core/help.rb (original)
+++ incubator/buildr/trunk/lib/buildr/core/help.rb Mon Oct 20 21:01:22 2008
@@ -55,7 +55,8 @@
 
 task 'help' do
   # Greeater.
-  Buildr.application.usage
+  puts 'Usage:'
+  puts '  buildr [-f rakefile] {options} targets...'
   puts
 
   # Show only the top-level projects.



Mime
View raw message