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

From:
Omar Polo <op@omarpolo.com>
Subject:
Re: gotctl usage help
To:
Mikhail <mp39590@gmail.com>
Cc:
gameoftrees@openbsd.org
Date:
Tue, 15 Nov 2022 00:05:04 +0100

Download raw body.

Thread
  • Mikhail:

    gotctl usage help

    • Omar Polo:

      gotctl usage help

On 2022/11/11 13:01:52 +0300, Mikhail <mp39590@gmail.com> wrote:
> Make it even with gotctl.8

Committed, thanks!

> diff /home/misha/work/got
> commit - b18b22548b5f83b9ec2eaf63b161fa5f76febdbc
> path + /home/misha/work/got
> blob - afc36213377900db760b4124017a746dbcc4cdf4
> file + gotctl/gotctl.c
> --- gotctl/gotctl.c
> +++ gotctl/gotctl.c
> @@ -314,7 +314,7 @@ usage(int hflag, int status)
>  {
>  	FILE *fp = (status == 0) ? stdout : stderr;
>  
> -	fprintf(fp, "usage: %s [-hV] command [arg ...]\n",
> +	fprintf(fp, "usage: %s [-hV] [-f path] command [arg ...]\n",
>  	    getprogname());
>  	if (hflag)
>  		list_commands(fp);