summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands
diff options
context:
space:
mode:
authorbronzdoc <lsagastume1990@gmail.com>2020-08-31 07:19:40 -0600
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-28 14:54:22 +0900
commit777840a16add54af7d84a049b4d5c06a8ba9ff99 (patch)
tree16df3ac0d93af3b18de60a3335ee713abd4a5053 /lib/rubygems/commands
parentbe980dd9fa99dc42b064ce596240f7623b97f1fb (diff)
[rubygems/rubygems] We don't need shortucts for a deprecated flag
https://github.com/rubygems/rubygems/commit/087a1f9720
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3599
Diffstat (limited to 'lib/rubygems/commands')
-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 9c38b30657..e5f438b09f 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('-n', '-d', '--dryrun',
+ add_option('--dryrun',
'Do not uninstall gems') do |value, options|
options[:dryrun] = true
end