diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-25 18:52:52 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-25 18:52:52 +0000 |
commit | ef338e4de4e5a9fa8d1c3b3c93cc59d24c42ec37 (patch) | |
tree | 98842e436e909508b4c0dc23c31737f845f15cc4 /railties/lib | |
parent | 290983be3114cd48f63265466abb57b15cbfb8f5 (diff) | |
download | rails-ef338e4de4e5a9fa8d1c3b3c93cc59d24c42ec37.tar.gz rails-ef338e4de4e5a9fa8d1c3b3c93cc59d24c42ec37.tar.bz2 rails-ef338e4de4e5a9fa8d1c3b3c93cc59d24c42ec37.zip |
Prepare order for uncommenting, use consistent opt options [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails_generator/generators/applications/app/app_generator.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/railties/lib/rails_generator/generators/applications/app/app_generator.rb b/railties/lib/rails_generator/generators/applications/app/app_generator.rb index 2456f02451..a192c14e0d 100644 --- a/railties/lib/rails_generator/generators/applications/app/app_generator.rb +++ b/railties/lib/rails_generator/generators/applications/app/app_generator.rb @@ -89,8 +89,9 @@ class AppGenerator < Rails::Generator::Base def add_options!(opt) opt.separator '' opt.separator 'Options:' - opt.on("--ruby [#{DEFAULT_SHEBANG}]", - "Path to the Ruby binary of your choice.") { |options[:shebang]| } + opt.on("-r", "--ruby", + "Path to the Ruby binary of your choice.", + "Default: #{DEFAULT_SHEBANG}") { |options[:shebang]| } opt.on("-d", "--database=name", String, "Preconfigure for selected database (options: mysql/postgresql/sqlite2/sqlite3).", |