summaryrefslogtreecommitdiff
path: root/lib/rubygems
diff options
context:
space:
mode:
authorMatthias Viehweger <viehweger@puzzle.ch>2022-04-27 08:27:31 +0200
committergit <svn-admin@ruby-lang.org>2022-04-29 17:19:19 +0900
commit5741ae379b2037ad5968b6994309e1d25cda6e1a (patch)
tree11abe293c2b1db6ea71c7a038b97717889b77136 /lib/rubygems
parent3cf107fde2f3556720e9ebabefae42db93c7ef8d (diff)
[rubygems/rubygems] Generalize description to account for different push servers
https://github.com/rubygems/rubygems/commit/cbf13edd3a
Diffstat (limited to 'lib/rubygems')
-rw-r--r--lib/rubygems/commands/owner_command.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/rubygems/commands/owner_command.rb b/lib/rubygems/commands/owner_command.rb
index a96ecd684a..42b0d79135 100644
--- a/lib/rubygems/commands/owner_command.rb
+++ b/lib/rubygems/commands/owner_command.rb
@@ -15,6 +15,10 @@ The owner command lets you add and remove owners of a gem on a push
server (the default is https://rubygems.org). Multiple owners can be
added or removed at the same time, if the flag is given multiple times.
+The supported user identifiers are dependant on the push server.
+For rubygems.org, both e-mail and handle are supported, even though the
+user identifier field is called "email".
+
The owner of a gem has the permission to push new versions, yank existing
versions or edit the HTML page of the gem. Be careful of who you give push
permission to.
@@ -36,11 +40,11 @@ permission to.
add_otp_option
defaults.merge! :add => [], :remove => []
- add_option '-a', '--add NEW_OWNER', 'Add an owner by email or handle' do |value, options|
+ add_option '-a', '--add NEW_OWNER', 'Add an owner by user identifier' do |value, options|
options[:add] << value
end
- add_option '-r', '--remove OLD_OWNER', 'Remove an owner by email or handle' do |value, options|
+ add_option '-r', '--remove OLD_OWNER', 'Remove an owner by user identifier' do |value, options|
options[:remove] << value
end