diff options
| author | 2023-05-28 09:40:42 +0200 | |
|---|---|---|
| committer | 2023-05-28 09:40:42 +0200 | |
| commit | 6f7bea0cff2ecbca3427def8ead2c9ceec966b14 (patch) | |
| tree | b8a4e0ecf13f7025a6dc2d057ce949def45b90be /main.c | |
| parent | 0be496ba1ca5695091494576fb18e4368789b491 (diff) | |
bool fixes
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,11 +49,11 @@ main(int argc, char **argv) const char *file, *targ; atexit(flushstd); - if (argc < 2) { + optparse(&file, &targ, argv); + if (!file) { efmt("usage: %s [options] <file>\n", *argv); return 1; } - optparse(&file, &targ, argv); targ_init(targ ? targ : "amd64-sysv"); initparser(&pr, file); |