Commit f93f54e5 authored by Marius Rackwitz's avatar Marius Rackwitz

Improved CLI description of Command::Update

parent 8c78ecf1
...@@ -79,14 +79,13 @@ module Pod ...@@ -79,14 +79,13 @@ module Pod
self.summary = 'Update outdated project dependencies' self.summary = 'Update outdated project dependencies'
self.description = <<-DESC self.description = <<-DESC
Update the pods specified (all pods, if none are specified), ignoring the previously Updates the Pods identified by the specified POD_NAMES. If no POD_NAMES are
installed pods specified in the Podfile.lock. In general, you should use pod install specified it updates all the Pods ignoring the contents of the Podfile.lock.
to install the same exact gems and versions across machines. This command is reserved to the update of dependencies and pod install should
be used to install changes to the Podfile.
You would use pod update to explicitly update the version of a gem.
DESC DESC
self.arguments = '[PODS]' self.arguments = '[POD_NAMES...]'
def initialize(argv) def initialize(argv)
@pods = argv.arguments! unless argv.arguments.empty? @pods = argv.arguments! unless argv.arguments.empty?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment