diff options
| author | José Valim <jose.valim@gmail.com> | 2010-02-04 13:05:27 +0100 |
|---|---|---|
| committer | José Valim <jose.valim@gmail.com> | 2010-02-04 13:05:27 +0100 |
| commit | ab14e3f8628da81535c09eab3ba48d06725c6769 (patch) | |
| tree | 1409b4049bbc3075f7618a4759797dc6de2116d9 /railties/lib/rails/commands.rb | |
| parent | 31248fe3698c8d6c54465dfdf463ea49749e1c33 (diff) | |
| parent | c9ec28b2b643de7a315276cc285d7a4506b9d568 (diff) | |
| download | rails-ab14e3f8628da81535c09eab3ba48d06725c6769.tar.gz rails-ab14e3f8628da81535c09eab3ba48d06725c6769.tar.bz2 rails-ab14e3f8628da81535c09eab3ba48d06725c6769.zip | |
Merge branch 'master' of gitproxy:rails/rails
Diffstat (limited to 'railties/lib/rails/commands.rb')
| -rw-r--r-- | railties/lib/rails/commands.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/commands.rb b/railties/lib/rails/commands.rb index f0dcf61d98..4240038673 100644 --- a/railties/lib/rails/commands.rb +++ b/railties/lib/rails/commands.rb @@ -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' |
