summaryrefslogtreecommitdiff
path: root/lib/getoptlong.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-21 02:31:11 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-21 02:31:11 +0000
commit4cf437519f1cbefed5ad7ee2bf0e68857105823f (patch)
tree735cc60c2165cefab0d4cf11cd399e73f8c47f82 /lib/getoptlong.rb
parent817a4e3c83fd830b93c286159e97a18654db1c35 (diff)
* regerror.c, string.c, io.c, lib/getoptlong.rb, lib/net/imap.rb,
compile.c, sprintf.c, parse.y, ext/win32ole/win32ole.c, ext/tk/sample/demos-en/entry3.rb, ext/tk/lib/tcltk.rb, ext/openssl/ossl_bn.c, numeric.c, vm.c, benchmark/bm_so_meteor_contest.rb, bignum.c, ruby.c: don't "illegal" for non law violation context. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/getoptlong.rb')
-rw-r--r--lib/getoptlong.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getoptlong.rb b/lib/getoptlong.rb
index 92c37610df..ba9ca3742a 100644
--- a/lib/getoptlong.rb
+++ b/lib/getoptlong.rb
@@ -570,7 +570,7 @@ class GetoptLong
# 1003.2 specifies the format of this message.
#
if ENV.include?('POSIXLY_CORRECT')
- set_error(InvalidOption, "illegal option -- #{ch}")
+ set_error(InvalidOption, "invalid option -- #{ch}")
else
set_error(InvalidOption, "invalid option -- #{ch}")
end