aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index a78ec9b..a336591 100644
--- a/main.c
+++ b/main.c
@@ -140,7 +140,7 @@ optparse(char **args)
} else if (*arg == 'o') {
if (arg[1]) task.out = arg+1;
else if (args[1]) task.out = *++args;
- else goto Bad;
+ else fatal(NULL, "missing path after `-o`");
} else if (*arg == 'f') {
/* -fabc / -fno-abc flags */
const char *flag = arg+1;