diff options
| author | 2025-11-15 09:17:13 +0100 | |
|---|---|---|
| committer | 2025-11-15 09:17:13 +0100 | |
| commit | e4b27ef0fce135e9e5edb2e5c05a0542bc4850cc (patch) | |
| tree | 2d0f9f616dad8b8f0552030dce62689f99b58b5f /main.c | |
| parent | 7db9c4567c7352ef44fb986412a241b02473d304 (diff) | |
driver: diagnostic for missing path after -o
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |