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

-v and --version params now work on rails script in or our of an app

This commit is contained in:
Mikel Lindsaar 2010-02-04 11:08:46 +11:00
parent 02ef8d20a1
commit 1ae543a180

View file

@ -59,6 +59,9 @@ when 'runner'
require 'rails/commands/runner'
require ENV_PATH
when '--version', '-v'
puts "Rails #{Rails::VERSION::STRING}"
when '--help', '-h'
puts HELP_TEXT
when '--version', '-v'