Commit Diff


commit - 1dd5492090bfc3d9e553b4306a3cca1f03adaa71
commit + 8125ddca50d061b9b48b5bafce84777d9bb6ba76
blob - 3ac1fa9f8decfc8a41d956bcad6cbe6e8c6aeca7
blob + b9f3d984c8b1d3845ff36b4eb30d74532311a023
--- got/got.1
+++ got/got.1
@@ -286,8 +286,8 @@ 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
-Schedule an unversioned file in a work tree for addition to the
+.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
 Remove a versioned file from a work tree and schedule it for deletion
blob - d99ceb078c138c3e79068d3b272080668b809c84
blob + 84abce195f6b83d69ae2379d002dbbc69fe61da6
--- 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);
 }