Hello there,

I've just started using rake. I really like it. Thanks!

Yesterday, I was wanting to pass in the name of an executable to run, so I did 

rake --help

and didn't see a way to get it in. After a while, I saw in rake.rb

if arg =~ /^(\w+)=(.*)$/
          ENV[$1] = $2

and then I knew how to do it.


I'm writing to say that it would have helped me if the usage message was a bit 
different.
Here's a suggested change relative to the trunk

Index: lib/rake.rb
===================================================================
--- lib/rake.rb    (revision 602)
+++ lib/rake.rb    (working copy)
@@ -1907,7 +1907,7 @@
     
     # Display the program usage line.
     def usage
-      puts "rake [-f rakefile] {options} targets..."
+      puts "Usage: rake [option ...] [{ VAR=VALUE | taskname } ...]"
     end
     
     # Display the rake command line help.


Thanks again,
Murray Bishop




      
____________________________________________________________________________________
 Yahoo!7 Mail has just got even bigger and better with unlimited storage on all 
webmail accounts.
http://au.docs.yahoo.com/mail/unlimitedstorage.html


_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel

Reply via email to