diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/getoptlong.rb | 2 | ||||
-rw-r--r-- | lib/net/imap.rb | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/lib/net/imap.rb b/lib/net/imap.rb index 24e1bcee04..ad47872501 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -3045,7 +3045,7 @@ module Net parse_error("unknown token - %s", $&.dump) end else - parse_error("illegal @lex_state - %s", @lex_state.inspect) + parse_error("invalid @lex_state - %s", @lex_state.inspect) end end |