Commit f13374f454ced0d17abbf1d7a4586ccc242ea652

Stefan Sperling 2020-01-14T14:28:08

fix 'tog tree' usage displayed in error case (patch by naddy@)

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tog/tog.c b/tog/tog.c
index 62fbbf3..1532cdc 100644
--- a/tog/tog.c
+++ b/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();