diff options
-rw-r--r-- | nqdasm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -139,7 +139,7 @@ static void disassemble(FILE *in, FILE *out) } } -static void usage(const char *progname) +static void usage(void) { printf("usage: %s [-o output] [input]\n", progname); printf(" %s -h\n", progname); @@ -161,7 +161,7 @@ int main(int argc, char **argv) for (int opt; (opt = getopt(argc, argv, "+ho:")) != -1;) { switch (opt) { case 'h': - usage(argv[0]); + usage(); return 0; case 'o': outname = optarg; |