summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/environment_command.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2022-06-22 14:11:06 +0200
committergit <svn-admin@ruby-lang.org>2022-06-29 03:25:45 +0900
commit1098fdf890d66d624560c4150fb403eff2e2e464 (patch)
treeea15deae179ccbc22cff852b7ee705a130a38ade /lib/rubygems/commands/environment_command.rb
parent7a33d3df6a2c0a9929722ccefad1f3b3a9d88263 (diff)
[rubygems/rubygems] Also document `gem env` argument aliases
https://github.com/rubygems/rubygems/commit/6d841ccbd4
Diffstat (limited to 'lib/rubygems/commands/environment_command.rb')
-rw-r--r--lib/rubygems/commands/environment_command.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/commands/environment_command.rb b/lib/rubygems/commands/environment_command.rb
index 2884c19493..ceccf882ee 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
def arguments # :nodoc:
args = <<-EOF
- home display the path where gems are installed
- path display path used to search for gems
+ home display the path where gems are installed. Aliases: gemhome, gemdir, GEM_HOME
+ path display path used to search for gems. Aliases: gempath, GEM_PATH
version display the gem format version
remotesources display the remote gem servers
platform display the supported gem platforms