ruby-changes:63158
From: bronzdoc <ko1@a...>
Date: Mon, 28 Sep 2020 14:54:44 +0900 (JST)
Subject: [ruby-changes:63158] 828cefd629 (master): [rubygems/rubygems] Add --dryrun to the deprecated options when showing the help message
https://git.ruby-lang.org/ruby.git/commit/?id=828cefd629 From 828cefd629e036c96fbd50013965f61df39417ce Mon Sep 17 00:00:00 2001 From: bronzdoc <lsagastume1990@g...> Date: Mon, 31 Aug 2020 08:52:59 -0600 Subject: [rubygems/rubygems] Add --dryrun to the deprecated options when showing the help message https://github.com/rubygems/rubygems/commit/38230a77c1 diff --git a/lib/rubygems/commands/cleanup_command.rb b/lib/rubygems/commands/cleanup_command.rb index e5f438b..662badc 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 https://github.com/ruby/ruby/blob/trunk/lib/rubygems/commands/cleanup_command.rb#L15 options[:dryrun] = true end - add_option('--dryrun', + add_option(:Deprecated, '--dryrun', 'Do not uninstall gems') do |value, options| options[:dryrun] = true end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/