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

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
tog tree: fix usage()
To:
gameoftrees@openbsd.org
Date:
Mon, 13 Jan 2020 22:25:47 -0000

Download raw body.

Thread
$ 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...


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