Commit 5d58be1291225e7e6b5febddb818535c9907fd09

Stefan Sperling 2020-05-17T09:49:01

fix 'got tree' usage message; the path argument is optional

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/got/got.c b/got/got.c
index fa1572e..e8ed834 100644
--- a/got/got.c
+++ b/got/got.c
@@ -4294,7 +4294,7 @@ __dead static void
 usage_tree(void)
 {
 	fprintf(stderr,
-	    "usage: %s tree [-c commit] [-r repository-path] [-iR] path\n",
+	    "usage: %s tree [-c commit] [-r repository-path] [-iR] [path]\n",
 	    getprogname());
 	exit(1);
 }