Changeset 4021
- Timestamp:
- 03/24/06 02:58:39 (3 years ago)
- Files:
-
- tools/capistrano/CHANGELOG (modified) (1 diff)
- tools/capistrano/lib/capistrano/cli.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/capistrano/CHANGELOG
r4020 r4021 1 1 *SVN* 2 3 * Deprecate the -r/--recipe switch in favor of -f/--file (for more make/rake-like semantics) [Jamis Buck] 2 4 3 5 * Fix gemspec to include a dependency on rake 0.7 [Jamis Buck] tools/capistrano/lib/capistrano/cli.rb
r3791 r4021 111 111 ) { |value| @options[:actions] << value } 112 112 113 opts.on("-f", "--file FILE", 114 "A recipe file to load. Multiple recipes may", 115 "be specified, and are loaded in the given order." 116 ) { |value| @options[:recipes] << value } 117 113 118 opts.on("-p", "--password [PASSWORD]", 114 119 "The password to use when connecting. If the switch", … … 120 125 opts.on("-r", "--recipe RECIPE", 121 126 "A recipe file to load. Multiple recipes may", 122 "be specified, and are loaded in the given order." 123 ) { |value| @options[:recipes] << value } 127 "be specified, and are loaded in the given order.", 128 "(This option is deprecated--please use -f instead)" 129 ) do |value| 130 warn "Deprecated -r/--recipe flag used. Please use -f instead" 131 @options[:recipes] << value 132 end 124 133 125 134 opts.on("-s", "--set NAME=VALUE",