Commit 8125ddca50d061b9b48b5bafce84777d9bb6ba76

Stefan Sperling 2019-05-11T18:59:25

update 'got add' documentation

diff --git a/got/got.1 b/got/got.1
index 3ac1fa9..b9f3d98 100644
--- a/got/got.1
+++ b/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
diff --git a/got/got.c b/got/got.c
index d99ceb0..84abce1 100644
--- a/got/got.c
+++ b/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);
 }