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

8
cp.1
View File

@@ -8,7 +8,7 @@ cp \- copy files and directories
.RI [ name ]
.P
.B cp
.RB [ \-adpRr ]
.RB [ \-adpRrv ]
.RI [ file ...]
.RI [ directory ]
.SH DESCRIPTION
@@ -25,7 +25,7 @@ Implies \-d, \-p, \-r.
don't dereference links. preserve links.
.TP
.B \-p
preserve mode, timestamp, links and permissions.
preserve mode, timestamp and permissions.
.TP
.B \-f
if an existing destination file cannot be opened, remove it and try again.
@@ -36,3 +36,7 @@ equivalent to -r.
.B \-r
copies directories recursively. If this flag is not specified, directories are
not copied.
.TP
.B \-v
print names of source and destination per file to stdout. In the format:
"source \-> destination".