Project

General

Profile

Actions

Bug #4117

closed

irb: typo when parsing command line options

Added by MiraFr (Julien Pervillé) over 13 years ago. Updated about 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]
Backport:
[ruby-core:33574]

Description

=begin
Under ruby 1.9.2, "irb --" raises NoMethodError because of a typo when parsing command-line options.

How to reproduce ?

{{{
#!sh
julien@devstation:~$ irb --
/home/julien/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/init.rb:210:in parse_opts': undefined method shfit' for []:Array (NoMethodError)
from /home/julien/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/init.rb:18:in setup' from /home/julien/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb.rb:53:in start'
from /home/julien/.rvm/rubies/ruby-1.9.2-p0/bin/irb:17:in `'
}}}
=end

Actions #1

Updated by nobu (Nobuyoshi Nakada) over 13 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r30085.
Julien, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Actions

Also available in: Atom PDF

Like0
Like0