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

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: tog tree: fix usage()
To:
Christian Weisgerber <naddy@mips.inka.de>
Cc:
gameoftrees@openbsd.org
Date:
Tue, 14 Jan 2020 15:29:00 +0100

Download raw body.

Thread
On Mon, Jan 13, 2020 at 10:25:47PM -0000, Christian Weisgerber wrote:
> $ tog tree src.git usr.bin/ssh
> usage: tog log [-c commit] [-r repository-path] [path]
> 
> I _think_ this is simply a copy and paste error and not a clever
> hint that I should use a different view for what I want to do...

Applied, thanks!

> diff 6586ea880db352b50506623a050aa8690c46d804 /home/naddy/got
> blob - 62fbbf38a262cffa371ced86479233621e2c6eb0
> file + tog/tog.c
> --- tog/tog.c
> +++ tog/tog.c
> @@ -4987,7 +4987,7 @@ cmd_tree(int argc, char *argv[])
>  		if (repo_path == NULL)
>  			return got_error_from_errno2("realpath", argv[0]);
>  	} else
> -		usage_log();
> +		usage_tree();
>  
>  	init_curses();
>  
> 
> -- 
> Christian "naddy" Weisgerber                          naddy@mips.inka.de
> 
>