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

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: gotd: Fix usage
To:
gameoftrees@openbsd.org
Date:
Mon, 24 Oct 2022 17:48:00 +0200

Download raw body.

Thread
  • Josiah Frentsos:

    gotd: Fix usage

    • Stefan Sperling:

      gotd: Fix usage

On Mon, Oct 24, 2022 at 10:35:28AM -0400, Josiah Frentsos wrote:
> 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
> 

Also applied, thanks again!