diff options
author | bronzdoc <[email protected]> | 2020-08-31 08:52:59 -0600 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2020-09-28 14:54:22 +0900 |
commit | 828cefd629e036c96fbd50013965f61df39417ce (patch) | |
tree | a0679da479ba42c7a7135b2874228561d3a2cbff /lib/rubygems/commands/cleanup_command.rb | |
parent | 777840a16add54af7d84a049b4d5c06a8ba9ff99 (diff) |
[rubygems/rubygems] Add --dryrun to the deprecated options when showing the help message
https://github.com/rubygems/rubygems/commit/38230a77c1
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3599
Diffstat (limited to 'lib/rubygems/commands/cleanup_command.rb')
-rw-r--r-- | lib/rubygems/commands/cleanup_command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/commands/cleanup_command.rb b/lib/rubygems/commands/cleanup_command.rb index e5f438b09f..662badce33 100644 --- a/lib/rubygems/commands/cleanup_command.rb +++ b/lib/rubygems/commands/cleanup_command.rb @@ -15,7 +15,7 @@ class Gem::Commands::CleanupCommand < Gem::Command options[:dryrun] = true end - add_option('--dryrun', + add_option(:Deprecated, '--dryrun', 'Do not uninstall gems') do |value, options| options[:dryrun] = true end |