cp: add -v, fix manpage info
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
This commit is contained in:
5
cp.c
5
cp.c
@@ -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;
|
||||
|
Reference in New Issue
Block a user