diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-02-17 10:07:01 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-02-17 10:07:01 +0100 |
commit | 907b25d40af7055d9200c3c614a948cb59532e81 (patch) | |
tree | 4a9b15ecad508fe11113e3faa65dc79e37aa3d46 /src | |
parent | 3275cecc6dc5ef8b9968cf97760a038844157eb2 (diff) |
Correct usage
Diffstat (limited to 'src')
-rw-r--r-- | src/c8asm/main.c | 5 |
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); } } |