diff options
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -115,10 +115,10 @@ static void run(struct registry *reg, struct params *params) fclose(outfile); draw->cleanup(); scene_free(&scene); - source_free(&src); + source_free(&src); } -static const char *help_text = +static const char *help_text = "usage: %s [options] <scenefile>\n" " -o | --out <outfile> File to write resulting .nut video to. A default may be provided by the\n" " scene file. Otherwise, video is written to stdout unless stdout is a\n" @@ -135,7 +135,7 @@ static const char *help_text = " (default: 1.0). Video will be rendered ahead of time by this amount.\n" " -v | --verbose Print debugging information.\n" " -h | --help Display this help text.\n"; - + int main(int argc, char **argv) { struct registry reg = {}; @@ -229,7 +229,7 @@ int main(int argc, char **argv) eprintf("too many arguments (see -h)\n"); if (remain_args < 1) eprintf("missing scene file (see -h)\n"); - + params.infile = str_intro(argv[optind]); run(®, ¶ms); |
