summaryrefslogtreecommitdiff
path: root/lib/rubygems
diff options
context:
space:
mode:
authorbronzdoc <lsagastume1990@gmail.com>2020-08-30 23:59:38 -0600
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-28 14:54:22 +0900
commitb83787b1ceb4441362fd3d966ce099e360a48646 (patch)
treeae8287d8336b9091de3d5145f160948fc3fff293 /lib/rubygems
parent0629e695e3130f875641542ad2593b19b56703ef (diff)
[rubygems/rubygems] Make --dry-run flag consistent across rubygems commands
https://github.com/rubygems/rubygems/commit/addc644cad
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3599
Diffstat (limited to 'lib/rubygems')
-rw-r--r--lib/rubygems/commands/cleanup_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/commands/cleanup_command.rb b/lib/rubygems/commands/cleanup_command.rb
index b9819a4f96..996733cef7 100644
--- a/lib/rubygems/commands/cleanup_command.rb
+++ b/lib/rubygems/commands/cleanup_command.rb
@@ -10,7 +10,7 @@ class Gem::Commands::CleanupCommand < Gem::Command
:force => false, :install_dir => Gem.dir,
:check_dev => true
- add_option('-n', '-d', '--dryrun',
+ add_option('-n', '-d', '--dry-run',
'Do not uninstall gems') do |value, options|
options[:dryrun] = true
end