Fix mruby --verbose (regression by #4827)

#### 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
  ```
This commit is contained in:
KOBAYASHI Shuji
2019-11-29 19:02:04 +09:00
parent 75e96c6927
commit df437eebcc
2 changed files with 4 additions and 1 deletions
@@ -189,7 +189,6 @@ parse_args(mrb_state *mrb, int argc, char **argv, struct _args *args)
}
else if (strcmp(opt, "verbose") == 0) {
args->verbose = TRUE;
break;
}
else if (strcmp(opt, "copyright") == 0) {
mrb_show_copyright(mrb);