From bc2b05488587b728699eefce5de58c21b5b78953 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 24 Sep 1996 04:15:02 +0000 Subject: [PATCH] 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. --- usr.bin/xinstall/install.1 | 4 ++-- usr.bin/xinstall/xinstall.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/usr.bin/xinstall/install.1 b/usr.bin/xinstall/install.1 index 82360116602a..84cf47313370 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 d50925b572ed..92e56c06dcd4 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); }