[前][次][番号順一覧][スレッド一覧]

ruby-changes:63160

From: bronzdoc <ko1@a...>
Date: Mon, 28 Sep 2020 14:54:47 +0900 (JST)
Subject: [ruby-changes:63160] 777840a16a (master): [rubygems/rubygems] We don't need shortucts for a deprecated flag

https://git.ruby-lang.org/ruby.git/commit/?id=777840a16a

From 777840a16add54af7d84a049b4d5c06a8ba9ff99 Mon Sep 17 00:00:00 2001
From: bronzdoc <lsagastume1990@g...>
Date: Mon, 31 Aug 2020 07:19:40 -0600
Subject: [rubygems/rubygems] We don't need shortucts for a deprecated flag

https://github.com/rubygems/rubygems/commit/087a1f9720

diff --git a/lib/rubygems/commands/cleanup_command.rb b/lib/rubygems/commands/cleanup_command.rb
index 9c38b30..e5f438b 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 https://github.com/ruby/ruby/blob/trunk/lib/rubygems/commands/cleanup_command.rb#L15
       options[:dryrun] = true
     end
 
-    add_option('-n', '-d', '--dryrun',
+    add_option('--dryrun',
                'Do not uninstall gems') do |value, options|
       options[:dryrun] = true
     end
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]