• KOBAYASHI Shuji's avatar
    Fix `mruby --verbose` (regression by #4827) · df437eeb
    KOBAYASHI Shuji authored
    #### Before this patch:
    
      ```
      $ bin/mruby --verbose -e 'p 1'
      bin/mruby: Cannot open program file: --verbose
      ```
    
    #### After this patch:
    
      ```
      $ bin/mruby --verbose -e 'p 1'
      00001 NODE_SCOPE:
      (snip)
      irep 0x7fe97041df30 nregs=4 nlocals=1 pools=0 syms=1 reps=0 iseq=11
      file: -e
          1 000 OP_LOADSELF R1
      (snip)
    
      1
      ```
    df437eeb
mruby.rb 4.29 KB