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

ruby-changes:72354

From: David <ko1@a...>
Date: Wed, 29 Jun 2022 03:26:09 +0900 (JST)
Subject: [ruby-changes:72354] 7a33d3df6a (master): [rubygems/rubygems] Document better names for `gem env` arguments

https://git.ruby-lang.org/ruby.git/commit/?id=7a33d3df6a

From 7a33d3df6a2c0a9929722ccefad1f3b3a9d88263 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Wed, 22 Jun 2022 14:10:35 +0200
Subject: [rubygems/rubygems] Document better names for `gem env` arguments

I think `gem env home` and `gem env path` read very nice.

https://github.com/rubygems/rubygems/commit/b89da79456
---
 lib/rubygems/commands/environment_command.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/rubygems/commands/environment_command.rb b/lib/rubygems/commands/environment_command.rb
index b6eeb620bd..2884c19493 100644
--- a/lib/rubygems/commands/environment_command.rb
+++ b/lib/rubygems/commands/environment_command.rb
@@ -8,8 +8,8 @@ class Gem::Commands::EnvironmentCommand < Gem::Command https://github.com/ruby/ruby/blob/trunk/lib/rubygems/commands/environment_command.rb#L8
 
   def arguments # :nodoc:
     args = <<-EOF
-          gemdir          display the path where gems are installed
-          gempath         display path used to search for gems
+          home            display the path where gems are installed
+          path            display path used to search for gems
           version         display the gem format version
           remotesources   display the remote gem servers
           platform        display the supported gem platforms
-- 
cgit v1.2.1


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

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