cp: add -v, fix manpage info

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
This commit is contained in:
Hiltjo Posthuma
2014-07-10 20:30:30 +00:00
committed by sin
parent ac402965d5
commit f67320ce93
5 changed files with 15 additions and 5 deletions

5
cp.c
View File

@@ -8,7 +8,7 @@
static void
usage(void)
{
eprintf("usage: %s [-adfpRr] source... dest\n", argv0);
eprintf("usage: %s [-adfpRrv] source... dest\n", argv0);
}
int
@@ -36,6 +36,9 @@ main(int argc, char *argv[])
case 'r':
cp_rflag = true;
break;
case 'v':
cp_vflag = true;
break;
default:
usage();
} ARGEND;