Per discussions in -current
- Change the debug flag from -d to -D to avoid conflict with other install programs. - Update man page to reflect this - Update usage string -d meaning creat directory is specifically not implemented by these changes.
This commit is contained in:
parent
4400af91f7
commit
bc2b054885
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18482
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" From: @(#)install.1 8.1 (Berkeley) 6/6/93
|
||||
.\" $Id: install.1,v 1.4 1996/03/11 03:31:51 mpp Exp $
|
||||
.\" $Id: install.1,v 1.5 1996/04/06 01:50:39 julian Exp $
|
||||
.\"
|
||||
.Dd October 9, 1995
|
||||
.Dt INSTALL 1
|
||||
@ -79,7 +79,7 @@ Copy the file.
|
||||
This flag turns off the default behavior of
|
||||
.Nm install
|
||||
where it deletes the original file after creating the target.
|
||||
.It Fl d
|
||||
.It Fl D
|
||||
Print debugging information.
|
||||
If
|
||||
.Fl d
|
||||
|
@ -40,7 +40,7 @@ static const char copyright[] =
|
||||
#ifndef lint
|
||||
/*static char sccsid[] = "From: @(#)xinstall.c 8.1 (Berkeley) 7/21/93";*/
|
||||
static const char rcsid[] =
|
||||
"$Id: xinstall.c,v 1.11 1996/09/05 07:33:24 peter Exp $";
|
||||
"$Id: xinstall.c,v 1.12 1996/09/05 07:54:08 peter Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*-
|
||||
@ -136,7 +136,7 @@ main(argc, argv)
|
||||
case 'c':
|
||||
docopy = 1;
|
||||
break;
|
||||
case 'd':
|
||||
case 'D':
|
||||
debug++;
|
||||
break;
|
||||
case 'f':
|
||||
@ -625,7 +625,7 @@ void
|
||||
usage()
|
||||
{
|
||||
(void)fprintf(stderr,
|
||||
"usage: install [-Ccdps] [-f flags] [-g group] [-m mode] [-o owner] file1 file2;\n\tor file1 ... fileN directory\n");
|
||||
"usage: install [-CcDps] [-f flags] [-g group] [-m mode] [-o owner] file1 file2;\n\tor file1 ... fileN directory\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user