commit fbb7e5c7d46ba5854dbb9fe5c26725e6edea28f1 from: Stefan Sperling date: Sat May 11 23:00:13 2019 UTC got add's file path argument is not optional commit - 8125ddca50d061b9b48b5bafce84777d9bb6ba76 commit + fbb7e5c7d46ba5854dbb9fe5c26725e6edea28f1 blob - b9f3d984c8b1d3845ff36b4eb30d74532311a023 blob + ea77117c5deef5a88300c4079311bc2d0832e469 --- got/got.1 +++ got/got.1 @@ -286,7 +286,7 @@ List all existing references in the repository. .It Fl d Ar name Delete the reference with the specified name from the repository. .El -.It Cm add Ar [ file-path ... ] +.It Cm add Ar file-path ... Schedule unversioned files in a work tree for addition to the repository in the next commit. .It Cm rm Ar file-path blob - 84abce195f6b83d69ae2379d002dbbc69fe61da6 blob + 5d5cf0446f8b605dd7cd8ba1001a12d2aa7e0a83 --- got/got.c +++ got/got.c @@ -1886,7 +1886,7 @@ done: __dead static void usage_add(void) { - fprintf(stderr, "usage: %s add [ file-path ... ]\n", getprogname()); + fprintf(stderr, "usage: %s add file-path ...\n", getprogname()); exit(1); }