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:
Warner Losh 1996-09-24 04:15:02 +00:00
parent 4400af91f7
commit bc2b054885
2 changed files with 5 additions and 5 deletions

View File

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

View File

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