diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-04-17 03:00:58 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-04-17 03:00:58 -0700 |
| commit | 6170cfea4c4542b8df745125e89f2e8ed996db34 (patch) | |
| tree | 6ec6227750144cd600c0a8b62d59568df53e8256 | |
| parent | 2d6ff9e82c1df08e99925ced3cac01c785c244c4 (diff) | |
| parent | 204ff73fd2a6019dc811720e8c030cc2c891d302 (diff) | |
| download | mruby-6170cfea4c4542b8df745125e89f2e8ed996db34.tar.gz mruby-6170cfea4c4542b8df745125e89f2e8ed996db34.zip | |
Merge pull request #1186 from carsonmcdonald/mrbcfixup
Minor format changes and a typo fix
| -rw-r--r-- | tools/mrbc/mrbc.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/mrbc/mrbc.c b/tools/mrbc/mrbc.c index 4e17d6890..4803b5db7 100644 --- a/tools/mrbc/mrbc.c +++ b/tools/mrbc/mrbc.c @@ -8,6 +8,7 @@ #define RITEBIN_EXT ".mrb" #define C_EXT ".c" + void mrb_show_version(mrb_state *); void mrb_show_copyright(mrb_state *); void parser_dump(mrb_state*, struct mrb_ast_node*, int); @@ -31,7 +32,7 @@ usage(const char *name) "switches:", "-c check syntax only", "-o<outfile> place the output into <outfile>", - "-v print version number, then trun on verbose mode", + "-v print version number, then turn on verbose mode", "-g produce debugging information", "-B<symbol> binary <symbol> output in C language format", "--verbose run at verbose mode", @@ -43,7 +44,7 @@ usage(const char *name) printf("Usage: %s [switches] programfile\n", name); while(*p) - printf(" %s\n", *p++); + printf(" %s\n", *p++); } static char * @@ -162,7 +163,8 @@ parse_args(mrb_state *mrb, int argc, char **argv, struct _args *args) goto exit; } } - exit: + +exit: if (outfile && infile != outfile) mrb_free(mrb, outfile); return result; } |
