both 'got add' and 'got rm' now accept directories; sync usage and man pages
diff --git a/got/got.1 b/got/got.1
index 891a15a..39066d0 100644
--- a/got/got.1
+++ b/got/got.1
@@ -645,7 +645,7 @@ With -R, add files even if they match a
.Cm got status
ignore pattern.
.El
-.It Cm remove Oo Fl f Oc Oo Fl k Oc Oo Fl R Oc Ar file-path ...
+.It Cm remove Oo Fl f Oc Oo Fl k Oc Oo Fl R Oc Ar path ...
Remove versioned files from a work tree and schedule them for deletion
from the repository in the next commit.
.Pp
diff --git a/got/got.c b/got/got.c
index a79e458..98571cf 100644
--- a/got/got.c
+++ b/got/got.c
@@ -4167,7 +4167,7 @@ done:
__dead static void
usage_add(void)
{
- fprintf(stderr, "usage: %s add [-R] [-I] file-path ...\n",
+ fprintf(stderr, "usage: %s add [-R] [-I] path ...\n",
getprogname());
exit(1);
}
@@ -4296,7 +4296,7 @@ done:
__dead static void
usage_remove(void)
{
- fprintf(stderr, "usage: %s remove [-f] [-k] [-R] file-path ...\n",
+ fprintf(stderr, "usage: %s remove [-f] [-k] [-R] path ...\n",
getprogname());
exit(1);
}