summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-05-16 09:24:18 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-05-16 09:24:18 +0900
commit36216ac6f7373c879ca103a30b55cab21a339415 (patch)
treeff8b742ac4d7c73a23d5b711afbff85a3be5fb57
parent103ab2e53d727cf2157536ab694705733351a00c (diff)
parentc8c4dfe426da121549f73fd776d0696a701db6b6 (diff)
downloadmruby-36216ac6f7373c879ca103a30b55cab21a339415.tar.gz
mruby-36216ac6f7373c879ca103a30b55cab21a339415.zip
Merge branch 'master' of github.com:mruby/mruby
-rw-r--r--tools/mrbc/mrbc.c4
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);