1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Show usage when script/plugin is called without arguments. Closes #3450

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3419 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Michael Koziarski 2006-01-14 09:00:48 +00:00
parent 6258829ebf
commit 32f89dc10b
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
*SVN*
* Show usage when script/plugin is called without arguments [tom@craz8.com]
* Corrected problems with plugin loader where plugins set 'name' incorrectly #3297 [anna@wota.jp]
* Make migration generator only report on exact duplicate names, not partial dupliate names. #3442 [jeremy@planetargon.com Marcel Molina Jr.]

View file

@ -444,7 +444,7 @@ module Commands
command.parse!(sub)
else
puts "Unknown command: #{command}"
puts "Try: #{$0} --help"
puts options
exit 1
end
end