aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/c8asm/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/c8asm/main.c b/src/c8asm/main.c
index b77c469..5ee9c9e 100644
--- a/src/c8asm/main.c
+++ b/src/c8asm/main.c
@@ -38,7 +38,10 @@ main(int argc, char **argv)
execlp("man", "man", "1", argv[0], nullptr);
die("execlp: man 1 %s", argv[0]);
default:
- fprintf(stderr, "Usage: %s [file ...]\n", argv[0]);
+ fprintf(stderr,
+ "Usage: %s [file ...]\n"
+ " %s -h\n",
+ argv[0], argv[0]);
exit(EXIT_FAILURE);
}
}