Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/rubygems/commands/specification_command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def initialize

def arguments # :nodoc:
<<-ARGS
GEMFILE name of gem to show the gemspec for
GEM_OR_FILE gem name or a .gem file to show the gemspec for
FIELD name of gemspec field to show
ARGS
end
Expand All @@ -68,7 +68,7 @@ def description # :nodoc:
end

def usage # :nodoc:
"#{program_name} [GEMFILE] [FIELD]"
"#{program_name} [GEM_OR_FILE] [FIELD]"
end

def execute
Expand All @@ -77,7 +77,7 @@ def execute

unless gem
raise Gem::CommandLineError,
"Please specify a gem name or file on the command line"
"Please specify a gem name or a .gem file on the command line"
end

case v = options[:version]
Expand Down