aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 89977f69..20f4cf4b 100644
--- a/main.c
+++ b/main.c
@@ -51,6 +51,7 @@ void toy_init(struct toy_list *which, char *argv[])
toys.which = which;
toys.argv = argv;
toys.exitval = 1;
+ if (which->options) get_optflags();
}
// Run a toy.