1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix a typo

This commit is contained in:
Nobuyoshi Nakada 2021-08-25 13:12:50 +09:00
parent 3842e723da
commit 44b2e32fb6
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -99,7 +99,7 @@ def parse_args(argv = ARGV)
case v
when /\AINSTALL[-_]([-\w]+)=(.*)/
argv.unshift("--#{$1.tr('_', '-')}=#{$2}")
when /\A\w[-\w+]*=\z/
when /\A\w[-\w]*=/
mflags << v
when /\A\w[-\w+]*\z/
$install << v.intern