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:
parent
02ef8d20a1
commit
1ae543a180
1 changed files with 3 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue