lib/phase/cli/ipa.rb in phase-0.0.12 vs lib/phase/cli/ipa.rb in phase-0.0.13
- old
+ new
@@ -1,11 +1,11 @@
module Phase
module CLI
class IPA < Command
command :ipa do |c|
- c.syntax = "phase ipa [version_number] [filename|pattern]..."
+ c.syntax = "phase ipa [version_number] [filename|glob_pattern]..."
c.description = <<-EOS.strip_heredoc
Generates enterprise distribution .plists for .ipa app bundles and uploads
all required files to the web for distribution.
EOS
@@ -20,10 +20,10 @@
def initialize(args, options)
@version = args.shift
@filenames = args
if @version.blank? || @filenames.blank?
- fail "invalid syntax: phase ipa [--version version_number] [filename|glob_pattern]..."
+ fail "invalid syntax: phase ipa [version_number] [filename|glob_pattern]..."
end
if Phase.config.ipa.bundle_id_prefix.blank?
fail "missing setting: set `Phase.config.ipa.bundle_id_prefix = [PREFIX] in Phasefile"
elsif Phase.config.ipa.bucket_name.blank?