diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-08-02 02:21:29 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-08-02 02:21:29 -0700 |
| commit | b4858c82f8ffd8d47626a754a78f7dae68bc7ea9 (patch) | |
| tree | e6fed42588a417c8b97e8033c2594cfdecd281a2 | |
| parent | a32fdf3e5d3cd4238afd5e5627659269e31211ef (diff) | |
| parent | fb9372b948fed09d4e8ef6c1bede67d3b96c775e (diff) | |
| download | mruby-b4858c82f8ffd8d47626a754a78f7dae68bc7ea9.tar.gz mruby-b4858c82f8ffd8d47626a754a78f7dae68bc7ea9.zip | |
Merge pull request #1428 from murasesyuka/add_mrbc_help_option
add mrbc -h option
| -rw-r--r-- | tools/mrbc/mrbc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mrbc/mrbc.c b/tools/mrbc/mrbc.c index 0a165b78a..79fcd2bdf 100644 --- a/tools/mrbc/mrbc.c +++ b/tools/mrbc/mrbc.c @@ -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; |
