diff options
Diffstat (limited to 'lib/getoptlong.rb')
-rw-r--r-- | lib/getoptlong.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/getoptlong.rb b/lib/getoptlong.rb index a37714cafd..82cccf43b9 100644 --- a/lib/getoptlong.rb +++ b/lib/getoptlong.rb @@ -303,7 +303,7 @@ class GetoptLong when STATUS_YET @status = STATUS_STARTED when STATUS_TERMINATED - return + return nil end # @@ -320,7 +320,7 @@ class GetoptLong end if ARGV.length == 0 terminate - return + return nil end $_ = ARGV.shift elsif @ordering == REQUIRE_ORDER |