summaryrefslogtreecommitdiff
path: root/lib/optparse.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/optparse.rb')
-rw-r--r--lib/optparse.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/optparse.rb b/lib/optparse.rb
index c00cda4506..db7be04ae7 100644
--- a/lib/optparse.rb
+++ b/lib/optparse.rb
@@ -1833,7 +1833,7 @@ Extends command line arguments array to parse itself.
end
=end #'#"#`#
def getopts(*args)
- options.getopts(*args)
+ options.getopts(self, *args)
end
=begin private