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 259382e8ec..cf635f0438 100644 --- a/lib/getoptlong.rb +++ b/lib/getoptlong.rb @@ -356,7 +356,7 @@ class GetoptLong # def terminate return nil if @status == STATUS_TERMINATED - raise RuntimeError, "an error has occured" if @error != nil + raise RuntimeError, "an error has occurred" if @error != nil @status = STATUS_TERMINATED @non_option_arguments.reverse_each do |argument| |