Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix help banners

  • Loading branch information...
commit f2c306898f3522044b6b718c25d52e544b5ded1e 1 parent 6cf539a
@alloy alloy authored
Showing with 16 additions and 15 deletions.
  1. +10 −9 lib/cocoapods/command/repo.rb
  2. +6 −6 lib/cocoapods/command/spec.rb
View
19 lib/cocoapods/command/repo.rb
@@ -6,18 +6,19 @@ class Repo < Command
def self.banner
%{Managing spec-repos:
- $ pod help repo
+ $ pod repo add NAME URL
- pod repo add NAME URL
- Clones `URL' in the local spec-repos directory at `~/.cocoapods'. The
- remote can later be referred to by `NAME'.
+ Clones `URL' in the local spec-repos directory at `~/.cocoapods'. The
+ remote can later be referred to by `NAME'.
- pod repo update NAME
- Updates the local clone of the spec-repo `NAME'. If `NAME' is omitted
- this will update all spec-repos in `~/.cocoapods'.
+ $ pod repo update NAME
- pod repo set-url NAME URL
- Updates the remote `URL' of the spec-repo `NAME'.}
+ Updates the local clone of the spec-repo `NAME'. If `NAME' is omitted
+ this will update all spec-repos in `~/.cocoapods'.
+
+ $ pod repo set-url NAME URL
+
+ Updates the remote `URL' of the spec-repo `NAME'.}
end
extend Executable
View
12 lib/cocoapods/command/spec.rb
@@ -4,14 +4,14 @@ class Spec < Command
def self.banner
%{Managing PodSpec files:
- $ pod help spec
+ $ pod spec create NAME
- pod spec create NAME
- Creates a PodSpec, in the current working dir, called `NAME.podspec'.
+ Creates a PodSpec, in the current working dir, called `NAME.podspec'.
- pod spec lint NAME.podspec
- Validates `NAME.podspec'. In case `NAME.podspec' is omitted, it defaults
- to `*.podspec' in the current working dir.}
+ $ pod spec lint NAME.podspec
+
+ Validates `NAME.podspec'. In case `NAME.podspec' is omitted, it defaults
+ to `*.podspec' in the current working dir.}
end
def initialize(argv)
Please sign in to comment.
Something went wrong with that request. Please try again.