mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
- Fix options order.
- Touch manpage's document date.
This commit is contained in:
parent
d9c7237d04
commit
cbae88b901
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161608
10
bin/cp/cp.1
10
bin/cp/cp.1
@ -32,7 +32,7 @@
|
||||
.\" @(#)cp.1 8.3 (Berkeley) 4/18/94
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd February 23, 2005
|
||||
.Dd August 24, 2006
|
||||
.Dt CP 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -45,7 +45,7 @@
|
||||
.Op Fl H | Fl L | Fl P
|
||||
.Oc
|
||||
.Op Fl f | i | n
|
||||
.Op Fl plv
|
||||
.Op Fl lpv
|
||||
.Ar source_file target_file
|
||||
.Nm
|
||||
.Oo
|
||||
@ -53,7 +53,7 @@
|
||||
.Op Fl H | Fl L | Fl P
|
||||
.Oc
|
||||
.Op Fl f | i | n
|
||||
.Op Fl plv
|
||||
.Op Fl lpv
|
||||
.Ar source_file ... target_directory
|
||||
.Sh DESCRIPTION
|
||||
In the first synopsis form, the
|
||||
@ -116,8 +116,6 @@ If you need to preserve hard links, consider using
|
||||
or
|
||||
.Xr pax 1
|
||||
instead.
|
||||
.It Fl l
|
||||
Create hard links to regular files in a hierarchy instead of copying.
|
||||
.It Fl f
|
||||
For each existing destination pathname, remove it and
|
||||
create a new file, without prompting for confirmation
|
||||
@ -146,6 +144,8 @@ option overrides any previous
|
||||
or
|
||||
.Fl n
|
||||
options.)
|
||||
.It Fl l
|
||||
Create hard links to regular files in a hierarchy instead of copying.
|
||||
.It Fl n
|
||||
Do not overwrite an existing file.
|
||||
(The
|
||||
|
@ -426,8 +426,8 @@ usage(void)
|
||||
{
|
||||
|
||||
(void)fprintf(stderr, "%s\n%s\n",
|
||||
"usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-plv] source_file target_file",
|
||||
" cp [-R [-H | -L | -P]] [-f | -i | -n] [-plv] source_file ... "
|
||||
"usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-lpv] source_file target_file",
|
||||
" cp [-R [-H | -L | -P]] [-f | -i | -n] [-lpv] source_file ... "
|
||||
"target_directory");
|
||||
exit(EX_USAGE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user