diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-02-04 13:30:15 -0800 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-02-04 13:30:15 -0800 |
commit | cb48bbeb005f3b8d68465604287e9df2f4572f89 (patch) | |
tree | f1a0b248f2a2fc5c27235d68e027807212005a1a | |
parent | 5720de7a39983db3ec63dce85049f5435927a86f (diff) | |
parent | 3a5b38bc3d998bc85a79146b9b93a2bb3ace5ec4 (diff) | |
download | rails-cb48bbeb005f3b8d68465604287e9df2f4572f89.tar.gz rails-cb48bbeb005f3b8d68465604287e9df2f4572f89.tar.bz2 rails-cb48bbeb005f3b8d68465604287e9df2f4572f89.zip |
Merge pull request #9175 from robertomiranda/add--rc-desc
Add --rc description on the command line
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index 978ec3b5de..c61fc388f0 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -61,6 +61,9 @@ module Rails class_option :skip_test_unit, type: :boolean, aliases: '-T', default: false, desc: 'Skip Test::Unit files' + class_option :rc, type: :string, default: false, + desc: "Path to file containing extra configuration options for rails command" + class_option :no_rc, type: :boolean, default: false, desc: 'Skip loading of extra configuration options from .railsrc file' |