- Fix options order.

- Touch manpage's document date.
This commit is contained in:
Ruslan Ermilov 2006-08-25 09:58:13 +00:00
parent d9c7237d04
commit cbae88b901
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161608
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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);
}