diff options
author | Hiroshi SHIBATA <[email protected]> | 2021-11-16 20:19:13 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2021-11-16 20:19:13 +0900 |
commit | f3bda8987ecf78aa260e697232876b35f83b67c3 () | |
tree | 4031690093d2cb9ca6f0b25e723771bacf76e872 /lib/rubygems/command.rb | |
parent | 84fdaaab4605020103c77df7665556de0a02dad2 (diff) |
Merge the master branch of rubygems repo
Picked from https://.com/rubygems/rubygems/commit/4b498709a015a94e14a3852a1841a7a3e669133d
-rw-r--r-- | lib/rubygems/command.rb | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -5,7 +5,7 @@ # See LICENSE.txt for permissions. #++ -require 'optparse' require_relative 'requirement' require_relative 'user_interaction' @@ -19,7 +19,7 @@ require_relative 'user_interaction' class Gem::Command include Gem::UserInteraction - OptionParser.accept Symbol do |value| value.to_sym end @@ -344,7 +344,7 @@ class Gem::Command ## # Add a command-line option and handler to the command. # - # See OptionParser#make_switch for an explanation of +opts+. # # +handler+ will be called with two values, the value of the argument and # the options hash. @@ -540,7 +540,7 @@ class Gem::Command # command. def create_option_parser - @parser = OptionParser.new add_parser_options |