"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Josiah Frentsos <jfrent@tilde.team>
Subject:
template: Sync usage() with man page
To:
gameoftrees@openbsd.org
Date:
Fri, 3 Mar 2023 14:07:30 -0500

Download raw body.

Thread
diff 1c86b8cdce76c75cf5091c552a9ab22b513f6fdc 65da944d6162b961ab777eb72ce1b94b84e46689
commit - 1c86b8cdce76c75cf5091c552a9ab22b513f6fdc
commit + 65da944d6162b961ab777eb72ce1b94b84e46689
blob - d8f3e5383a96a5faf569ee9b566218d8f14189c1
blob + d6fe61194ed6d4a9b329be5117377d0d5b9867dd
--- template/template.c
+++ template/template.c
@@ -26,8 +26,7 @@ usage(void)
 static void __dead
 usage(void)
 {
-	fprintf(stderr, "usage: %s [file...]\n",
-	    getprogname());
+	fprintf(stderr, "usage: %s [-G] [-o out] [file ...]\n", getprogname());
 	exit(1);
 }