diff options
-rw-r--r-- | lib/rubygems/commands/list_command.rb | 15 |
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: |