1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Deprecate the -r/--recipe switch in favor of -f/--file (for more make/rake-like semantics)

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@4021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck 2006-03-24 02:58:39 +00:00
parent b8bbbb5ef6
commit 05f7d60b1e
2 changed files with 13 additions and 2 deletions

View file

@ -1,5 +1,7 @@
*SVN*
* Deprecate the -r/--recipe switch in favor of -f/--file (for more make/rake-like semantics) [Jamis Buck]
* Fix gemspec to include a dependency on rake 0.7 [Jamis Buck]
* Added respect for ENV["HOSTS"] that'll be used instead of the roles specified in the task definition [DHH]. Example:

View file

@ -110,6 +110,11 @@ module Capistrano
"be specified, and are loaded in the given order."
) { |value| @options[:actions] << value }
opts.on("-f", "--file FILE",
"A recipe file to load. Multiple recipes may",
"be specified, and are loaded in the given order."
) { |value| @options[:recipes] << value }
opts.on("-p", "--password [PASSWORD]",
"The password to use when connecting. If the switch",
"is given without a password, the password will be",
@ -119,8 +124,12 @@ module Capistrano
opts.on("-r", "--recipe RECIPE",
"A recipe file to load. Multiple recipes may",
"be specified, and are loaded in the given order."
) { |value| @options[:recipes] << value }
"be specified, and are loaded in the given order.",
"(This option is deprecated--please use -f instead)"
) do |value|
warn "Deprecated -r/--recipe flag used. Please use -f instead"
@options[:recipes] << value
end
opts.on("-s", "--set NAME=VALUE",
"Specify a variable and it's value to set. This",