Skip to content

Commit 1c8b6c6

Browse files
committed
Clarify the name and meaning of the first argument to gem spec
* GEMFILE sound like Bundler Gemfile but this is unrelated.
1 parent a3d2d2c commit 1c8b6c6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/rubygems/commands/specification_command.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def initialize
4242

4343
def arguments # :nodoc:
4444
<<-ARGS
45-
GEMFILE name of gem to show the gemspec for
45+
GEM_OR_FILE gem name or a .gem file to show the gemspec for
4646
FIELD name of gemspec field to show
4747
ARGS
4848
end
@@ -68,7 +68,7 @@ def description # :nodoc:
6868
end
6969

7070
def usage # :nodoc:
71-
"#{program_name} [GEMFILE] [FIELD]"
71+
"#{program_name} [GEM_OR_FILE] [FIELD]"
7272
end
7373

7474
def execute
@@ -77,7 +77,7 @@ def execute
7777

7878
unless gem
7979
raise Gem::CommandLineError,
80-
"Please specify a gem name or file on the command line"
80+
"Please specify a gem name or a .gem file on the command line"
8181
end
8282

8383
case v = options[:version]

0 commit comments

Comments
 (0)