mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
make ENV
a required argument
This commit is contained in:
parent
d12daa4b33
commit
ab8338fb22
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ module Minitest
|
||||||
opts.separator ""
|
opts.separator ""
|
||||||
|
|
||||||
opts.separator "Rails options:"
|
opts.separator "Rails options:"
|
||||||
opts.on("-e", "--environment [ENV]",
|
opts.on("-e", "--environment ENV",
|
||||||
"Run tests in the ENV environment") do |env|
|
"Run tests in the ENV environment") do |env|
|
||||||
options[:environment] = env.strip
|
options[:environment] = env.strip
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue