commit 3493b628a800f5a996240d0231be372fa4f0a96c from: Stefan Sperling date: Fri Mar 20 16:53:05 2020 UTC man page wording simplification: target-direcory -> directory commit - 175367bd233a9eab327c6ad34e8eae95004bd8d4 commit + 3493b628a800f5a996240d0231be372fa4f0a96c blob - 8905ad6deec196d720522444b1ae8d7bab53ff66 blob + 11132ec016a97e6e7804cfee457e1153d0aa6f00 --- got/got.1 +++ 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 blob - 772ad7cd8a8c906a870576dd6b2a5fc297cdef9f blob + c085ca6e3cbfc30bd34f5607ef6c56114089b979 --- got/got.c +++ 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); }