1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Add --dryrun to the deprecated options when showing the help message

https://github.com/rubygems/rubygems/commit/38230a77c1
This commit is contained in:
bronzdoc 2020-08-31 08:52:59 -06:00 committed by Hiroshi SHIBATA
parent 777840a16a
commit 828cefd629
Notes: git 2020-09-28 14:54:56 +09:00

View file

@ -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