summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/list_command.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2020-02-01 11:14:04 +0900
committerHiroshi SHIBATA <[email protected]>2020-02-01 11:14:57 +0900
commit600a715c9bde99fe2e9a669465d78833445273e8 ()
tree8244622e8cc02b40dd0dad29d30fc60a11342396 /lib/rubygems/commands/list_command.rb
parentadc303131187654d8ce83f3db17eefa3d5bae26c (diff)
Merge the current master branch of rubygems/rubygems.
Just started to develop RubyGems 3.2.0.
-rw-r--r--lib/rubygems/commands/list_command.rb15
1 files changed, 9 insertions, 6 deletions
@@ -1,17 +1,20 @@
# frozen_string_literal: true
require 'rubygems/command'
-require 'rubygems/commands/query_command'
##
-# An alternate to Gem::Commands::QueryCommand that searches for gems starting
-# with the supplied argument.
-class Gem::Commands::ListCommand < Gem::Commands::QueryCommand
def initialize
- super 'list', 'Display local gems whose name matches REGEXP'
- remove_option('--name-matches')
end
def arguments # :nodoc: