Skip to content

Commit

Permalink
change -d --dryrun alias by -n
Browse files Browse the repository at this point in the history
solve issue rubygems#483
  • Loading branch information
gramos committed Mar 18, 2013
1 parent b5c9b67 commit 809daec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/rubygems/commands/cleanup_command.rb
Expand Up @@ -9,7 +9,7 @@ def initialize
'Clean up old versions of installed gems in the local repository',
:force => false, :install_dir => Gem.dir

add_option('-d', '--dryrun', "") do |value, options|
add_option('-n', '--dryrun', "") do |value, options|
options[:dryrun] = true
end

Expand Down Expand Up @@ -162,4 +162,3 @@ def uninstall_dep spec
end

end

0 comments on commit 809daec

Please sign in to comment.