aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/commands/list_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/commands/list_command.rb')
-rw-r--r--lib/rubygems/commands/list_command.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/commands/list_command.rb b/lib/rubygems/commands/list_command.rb
index 4edeabef02..c6ff237311 100644
--- a/lib/rubygems/commands/list_command.rb
+++ b/lib/rubygems/commands/list_command.rb
@@ -8,13 +8,13 @@ require 'rubygems/commands/query_command'
class Gem::Commands::ListCommand < Gem::Commands::QueryCommand
def initialize
- super 'list', 'Display local gems whose name starts with STRING'
+ super 'list', 'Display local gems whose name matches REGEXP'
remove_option('--name-matches')
end
def arguments # :nodoc:
- "STRING start of gem name to look for"
+ "REGEXP regexp to look for in gem name"
end
def defaults_str # :nodoc: