diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-16 10:46:45 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-17 18:50:55 +0900 |
commit | 05208c3875a12a188e14328ffbd5b2eb21824f24 () | |
tree | 659dc072793f13810edd33ab818b2eeb6d994e77 /lib/rubygems/command.rb | |
parent | 7ab4ede4f5ec23d9eac6868176d99ad63df46978 (diff) |
[rubygems/rubygems] util/rubocop -A --only Lint/UnusedBlockArgument
https://.com/rubygems/rubygems/commit/d8efd919db
-rw-r--r-- | lib/rubygems/command.rb | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -583,12 +583,12 @@ class Gem::Command # Add the options common to all commands. add_common_option("-h", "--help", - "Get help on this command") do |value, options| options[:help] = true end add_common_option("-V", "--[no-]verbose", - "Set the verbose level of output") do |value, options| # Set us to "really verbose" so the progress meter works if Gem.configuration.verbose && value Gem.configuration.verbose = 1 @@ -597,12 +597,12 @@ class Gem::Command end end - add_common_option("-q", "--quiet", "Silence command progress meter") do |value, options| Gem.configuration.verbose = false end add_common_option("--silent", - "Silence RubyGems output") do |value, options| options[:silent] = true end |