diff options
author | bronzdoc <[email protected]> | 2020-08-30 23:59:38 -0600 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2020-09-28 14:54:22 +0900 |
commit | b83787b1ceb4441362fd3d966ce099e360a48646 (patch) | |
tree | ae8287d8336b9091de3d5145f160948fc3fff293 /lib/rubygems/commands/cleanup_command.rb | |
parent | 0629e695e3130f875641542ad2593b19b56703ef (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/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 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 |