aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorrobertomiranda <rjmaltamar@gmail.com>2013-02-02 09:51:17 -0500
committerrobertomiranda <rjmaltamar@gmail.com>2013-02-02 09:57:07 -0500
commit9e18ce7f9355092feb9141cea5afd38d3e9ad25e (patch)
tree67302150c969bf3ca646a4708beafa2ff60bebc5 /railties
parentd3524852e206499d9ba3076c2c707eae65a64375 (diff)
downloadrails-9e18ce7f9355092feb9141cea5afd38d3e9ad25e.tar.gz
rails-9e18ce7f9355092feb9141cea5afd38d3e9ad25e.tar.bz2
rails-9e18ce7f9355092feb9141cea5afd38d3e9ad25e.zip
Add --no-rc description on the command line
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/app_base.rb3
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 ca3652c703..978ec3b5de 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 :no_rc, type: :boolean, default: false,
+ desc: 'Skip loading of extra configuration options from .railsrc file'
+
class_option :help, type: :boolean, aliases: '-h', group: :rails,
desc: 'Show this help message and quit'
end