Commit 3493b628a800f5a996240d0231be372fa4f0a96c

Stefan Sperling 2020-03-20T16:53:05

man page wording simplification: target-direcory -> directory

diff --git a/got/got.1 b/got/got.1
index 8905ad6..11132ec 100644
--- a/got/got.1
+++ b/got/got.1
@@ -136,18 +136,18 @@ follows the globbing rules documented in
 .It Cm im
 Short alias for
 .Cm import .
-.It Cm clone Oo Fl a Oc Oo Fl q Oc Oo Fl v Oc Ar repository-URL Op Ar target-directory
+.It Cm clone Oo Fl a Oc Oo Fl q Oc Oo Fl v Oc Ar repository-URL Op Ar directory
 Clone a Git repository at the specified
 .Ar repository-URL
 into the specified
-.Ar target-directory .
+.Ar directory .
 If no
-.Ar target-directory
+.Ar directory
 is specified the directory name will be derived from the name of the
 cloned repository.
 .Cm got clone
 will refuse to run if the
-.Ar target-directory
+.Ar directory
 already exists.
 .Pp
 The
diff --git a/got/got.c b/got/got.c
index 772ad7c..c085ca6 100644
--- a/got/got.c
+++ b/got/got.c
@@ -812,7 +812,7 @@ __dead static void
 usage_clone(void)
 {
 	fprintf(stderr, "usage: %s clone [-a] [-m] [-q] [-v] repository-url "
-	    "[target-directory]\n", getprogname());
+	    "[directory]\n", getprogname());
 	exit(1);
 }