diff options
Diffstat (limited to 'lib/getoptlong.rb')
-rw-r--r-- | lib/getoptlong.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getoptlong.rb b/lib/getoptlong.rb index 92c37610d..ba9ca3742 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 |