summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1996-09-24 04:15:02 +0000
committerimp <imp@FreeBSD.org>1996-09-24 04:15:02 +0000
commiteea77f0b8b949a0751ff157c1479afcf907cb3ad (patch)
treeac1d94760c25a33198ed6fc640922facaad5c9af
parenta71958e40aa8acc0bfaa8e44b6ba5a4c5021310d (diff)
downloadFreeBSD-src-eea77f0b8b949a0751ff157c1479afcf907cb3ad.zip
FreeBSD-src-eea77f0b8b949a0751ff157c1479afcf907cb3ad.tar.gz
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.
-rw-r--r--usr.bin/xinstall/install.14
-rw-r--r--usr.bin/xinstall/xinstall.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/xinstall/install.1 b/usr.bin/xinstall/install.1
index 8236011..84cf473 100644
--- a/usr.bin/xinstall/install.1
+++ b/usr.bin/xinstall/install.1
@@ -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
diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c
index d50925b..92e56c0 100644
--- a/usr.bin/xinstall/xinstall.c
+++ b/usr.bin/xinstall/xinstall.c
@@ -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);
}
OpenPOWER on IntegriCloud