Browse files

Merge pull request #9175 from robertomiranda/add--rc-desc

Add --rc description on the command line
  • Loading branch information...
2 parents 5720de7 + 3a5b38b commit cb48bbeb005f3b8d68465604287e9df2f4572f89 @guilleiguaran guilleiguaran committed Feb 4, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 railties/lib/rails/generators/app_base.rb
@@ -61,6 +61,9 @@ def self.add_shared_options_for(name)
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'

0 comments on commit cb48bbe

Please sign in to comment.