lib/rubygems/gemcutter_utilities.rb in rubygems-update-3.2.23 vs lib/rubygems/gemcutter_utilities.rb in rubygems-update-3.2.24
- old
+ new
@@ -29,10 +29,11 @@
##
# Add the --otp option
def add_otp_option
add_option('--otp CODE',
- 'Digit code for multifactor authentication') do |value, options|
+ 'Digit code for multifactor authentication',
+ 'You can also use the environment variable GEM_HOST_OTP_CODE') do |value, options|
options[:otp] = value
end
end
##