Add mandoc-manpage for mv(1)

and mark it as finished in README.
Make it clear that -i has not been implemented yet and drop the
flag in the code instead of erroring out.
This commit is contained in:
FRIGN
2015-01-28 22:06:50 +01:00
parent 409db4e5d7
commit 7437901098
3 changed files with 39 additions and 24 deletions

3
mv.c
View File

@@ -13,7 +13,7 @@ static int mv(const char *, const char *);
static void
usage(void)
{
eprintf("usage: %s [-f] source... dest\n", argv0);
eprintf("usage: %s [-f | -i] source... dest\n", argv0);
}
int
@@ -22,6 +22,7 @@ main(int argc, char *argv[])
struct stat st;
ARGBEGIN {
case 'i':
case 'f':
break;
default: