Merge pull request #1428 from murasesyuka/add_mrbc_help_option

add mrbc -h option
This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-08-02 02:21:29 -07:00
+2
View File
@@ -117,6 +117,8 @@ parse_args(mrb_state *mrb, int argc, char **argv, struct mrbc_args *args)
case 'g':
args->debug_info = 1;
break;
case 'h':
return -1;
case '-':
if (argv[i][1] == '\n') {
return i;