commit c29c428a5f2db009ac7f83085fe96c62bf48ee79 from: Stefan Sperling date: Mon Dec 16 15:24:45 2019 UTC both 'got add' and 'got rm' now accept directories; sync usage and man pages commit - 49df172ede69310e2b52902288392b373790b491 commit + c29c428a5f2db009ac7f83085fe96c62bf48ee79 blob - 891a15aa6bdc4403a76ecd39911b337be71d6a8d blob + 39066d0ed5236bde473e6e5748be94c96d93d114 --- got/got.1 +++ 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 blob - a79e4584ac3231621c120c9b63775d4498bb090a blob + 98571cf64193a2e536f09fedf3b82a1f61dfdb9a --- got/got.c +++ 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); }