From 907b25d40af7055d9200c3c614a948cb59532e81 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 17 Feb 2024 10:07:01 +0100 Subject: Correct usage --- src/c8asm/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/c8asm') 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); } } -- cgit v1.2.3