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

From:
Josiah Frentsos <jfrent@tilde.team>
Subject:
gotd: Fix usage
To:
gameoftrees@openbsd.org
Date:
Mon, 24 Oct 2022 10:35:28 -0400

Download raw body.

Thread
  • Josiah Frentsos:

    gotd: Fix usage

diff 40c2b7bf80b949ca460bac3c15cc771c312c1a79 f37eabbea36becd0642783b3cb1ab939bfca36e2
commit - 40c2b7bf80b949ca460bac3c15cc771c312c1a79
commit + f37eabbea36becd0642783b3cb1ab939bfca36e2
blob - 06e0b7d3a39e2d8c01b4f512282f193eda50c43f
blob + 48d6a4292538e6aa276672b3ec748f17b141b940
--- gotd/gotd.c
+++ gotd/gotd.c
@@ -99,8 +99,8 @@ usage()
 __dead static void
 usage()
 {
-	fprintf(stderr, "%s: [-dv] [-f config-file]\n", getprogname());
-	exit (1);
+	fprintf(stderr, "usage: %s [-dv] [-f config-file]\n", getprogname());
+	exit(1);
 }
 
 static int