diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-05-16 09:24:18 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-05-16 09:24:18 +0900 |
| commit | 36216ac6f7373c879ca103a30b55cab21a339415 (patch) | |
| tree | ff8b742ac4d7c73a23d5b711afbff85a3be5fb57 | |
| parent | 103ab2e53d727cf2157536ab694705733351a00c (diff) | |
| parent | c8c4dfe426da121549f73fd776d0696a701db6b6 (diff) | |
| download | mruby-36216ac6f7373c879ca103a30b55cab21a339415.tar.gz mruby-36216ac6f7373c879ca103a30b55cab21a339415.zip | |
Merge branch 'master' of github.com:mruby/mruby
| -rw-r--r-- | tools/mrbc/mrbc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/mrbc/mrbc.c b/tools/mrbc/mrbc.c index ed97472cd..3bf6678f6 100644 --- a/tools/mrbc/mrbc.c +++ b/tools/mrbc/mrbc.c @@ -287,6 +287,10 @@ main(int argc, char **argv) return EXIT_FAILURE; } } + else { + fprintf(stderr, "Output file is required\n"); + return EXIT_FAILURE; + } result = dump_file(mrb, wfp, args.outfile, &args); fclose(wfp); cleanup(mrb, &args); |
