summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorLizzy Fleckenstein <lizzy@vlhl.dev>2026-04-12 22:34:18 +0200
committerLizzy Fleckenstein <lizzy@vlhl.dev>2026-04-12 22:45:04 +0200
commitd58e1aea4b57e890706b96565c8c1fd9e09b42ec (patch)
tree61a838aa434da6a890ace72898b854328e0b688f /src/main.c
parent5aa88cf26954a738d0f22a7c90bb33f1df422919 (diff)
downloadanimtool-d58e1aea4b57e890706b96565c8c1fd9e09b42ec.tar.xz
fix whitespaceHEADmain
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index c81f1d6..f775b23 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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(&reg, &params);