- 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
|
.\" @(#)cp.1 8.3 (Berkeley) 4/18/94
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd February 23, 2005
|
.Dd August 24, 2006
|
||||||
.Dt CP 1
|
.Dt CP 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -45,7 +45,7 @@
|
|||||||
.Op Fl H | Fl L | Fl P
|
.Op Fl H | Fl L | Fl P
|
||||||
.Oc
|
.Oc
|
||||||
.Op Fl f | i | n
|
.Op Fl f | i | n
|
||||||
.Op Fl plv
|
.Op Fl lpv
|
||||||
.Ar source_file target_file
|
.Ar source_file target_file
|
||||||
.Nm
|
.Nm
|
||||||
.Oo
|
.Oo
|
||||||
@ -53,7 +53,7 @@
|
|||||||
.Op Fl H | Fl L | Fl P
|
.Op Fl H | Fl L | Fl P
|
||||||
.Oc
|
.Oc
|
||||||
.Op Fl f | i | n
|
.Op Fl f | i | n
|
||||||
.Op Fl plv
|
.Op Fl lpv
|
||||||
.Ar source_file ... target_directory
|
.Ar source_file ... target_directory
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
In the first synopsis form, the
|
In the first synopsis form, the
|
||||||
@ -116,8 +116,6 @@ If you need to preserve hard links, consider using
|
|||||||
or
|
or
|
||||||
.Xr pax 1
|
.Xr pax 1
|
||||||
instead.
|
instead.
|
||||||
.It Fl l
|
|
||||||
Create hard links to regular files in a hierarchy instead of copying.
|
|
||||||
.It Fl f
|
.It Fl f
|
||||||
For each existing destination pathname, remove it and
|
For each existing destination pathname, remove it and
|
||||||
create a new file, without prompting for confirmation
|
create a new file, without prompting for confirmation
|
||||||
@ -146,6 +144,8 @@ option overrides any previous
|
|||||||
or
|
or
|
||||||
.Fl n
|
.Fl n
|
||||||
options.)
|
options.)
|
||||||
|
.It Fl l
|
||||||
|
Create hard links to regular files in a hierarchy instead of copying.
|
||||||
.It Fl n
|
.It Fl n
|
||||||
Do not overwrite an existing file.
|
Do not overwrite an existing file.
|
||||||
(The
|
(The
|
||||||
|
@ -426,8 +426,8 @@ usage(void)
|
|||||||
{
|
{
|
||||||
|
|
||||||
(void)fprintf(stderr, "%s\n%s\n",
|
(void)fprintf(stderr, "%s\n%s\n",
|
||||||
"usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-plv] source_file target_file",
|
"usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-lpv] source_file target_file",
|
||||||
" cp [-R [-H | -L | -P]] [-f | -i | -n] [-plv] source_file ... "
|
" cp [-R [-H | -L | -P]] [-f | -i | -n] [-lpv] source_file ... "
|
||||||
"target_directory");
|
"target_directory");
|
||||||
exit(EX_USAGE);
|
exit(EX_USAGE);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user