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

From:
Omar Polo <op@omarpolo.com>
Subject:
Re: template: Sync usage() with man page
To:
Josiah Frentsos <jfrent@tilde.team>
Cc:
gameoftrees@openbsd.org
Date:
Sat, 04 Mar 2023 09:57:43 +0100

Download raw body.

Thread
On 2023/03/03 14:07:30 -0500, Josiah Frentsos <jfrent@tilde.team> wrote:
> 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);
>  }
>  

Committed, thanks!

(the -o was a last-minute addition before sending the template for
inclusion.)