We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gem spec
1 parent a3d2d2c commit 1c8b6c6Copy full SHA for 1c8b6c6
1 file changed
lib/rubygems/commands/specification_command.rb
@@ -42,7 +42,7 @@ def initialize
42
43
def arguments # :nodoc:
44
<<-ARGS
45
-GEMFILE name of gem to show the gemspec for
+GEM_OR_FILE gem name or a .gem file to show the gemspec for
46
FIELD name of gemspec field to show
47
ARGS
48
end
@@ -68,7 +68,7 @@ def description # :nodoc:
68
69
70
def usage # :nodoc:
71
- "#{program_name} [GEMFILE] [FIELD]"
+ "#{program_name} [GEM_OR_FILE] [FIELD]"
72
73
74
def execute
@@ -77,7 +77,7 @@ def execute
77
78
unless gem
79
raise Gem::CommandLineError,
80
- "Please specify a gem name or file on the command line"
+ "Please specify a gem name or a .gem file on the command line"
81
82
83
case v = options[:version]
0 commit comments