1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #28671 from y-yagi/use_appropriate_type_to_header_option

Use appropriate type to `header` option
This commit is contained in:
Matthew Draper 2017-04-05 21:14:05 +09:30 committed by GitHub
commit ed617a324a

View file

@ -140,7 +140,7 @@ module Rails
class_option :mode, enum: %w( html list line column ), type: :string,
desc: "Automatically put the sqlite3 database in the specified mode (html, list, line, column)."
class_option :header, type: :string
class_option :header, type: :boolean
class_option :environment, aliases: "-e", type: :string,
desc: "Specifies the environment to run this console under (test/development/production)."