Commit bc20e173ea7feefe67f7b40db7b6887dc7895daf

Stefan Sperling 2019-06-17T14:22:59

fix usage() call in cmd_init()

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/got/got.c b/got/got.c
index b45405f..3efedf2 100644
--- a/got/got.c
+++ b/got/got.c
@@ -306,7 +306,7 @@ cmd_init(int argc, char *argv[])
 		err(1, "pledge");
 #endif
 	if (argc != 1)
-		usage_checkout();
+		usage_init();
 
 	repo_path = strdup(argv[0]);
 	if (repo_path == NULL)