From d4e55ffaf31cb241a805c515ff3d48ad2a099beb Mon Sep 17 00:00:00 2001 From: imp Date: Sun, 29 Sep 1996 23:09:51 +0000 Subject: Submitted by: Bruce Evans Remove -S for the install usage message Make the install usage message < 80 columns wide Place the dodir declaration in order. --- usr.bin/xinstall/xinstall.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c index 4add5e8..37a75b9 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.14 1996/09/24 17:29:42 bde Exp $"; + "$Id: xinstall.c,v 1.16 1996/09/29 06:29:54 imp Exp $"; #endif /* not lint */ /*- @@ -80,7 +80,7 @@ static const char rcsid[] = #include "pathnames.h" -int debug, docompare, dodir, docopy, dopreserve, dostrip, verbose; +int debug, docompare, docopy, dodir, dopreserve, dostrip, verbose; int mode = S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH; char *group, *owner, pathbuf[MAXPATHLEN]; char pathbuf2[MAXPATHLEN]; @@ -677,9 +677,9 @@ void usage() { (void)fprintf(stderr,"\ -usage: install [-CcDpSs] [-f flags] [-g group] [-m mode] [-o owner] file1 file2\n\ - install [-CcDpSs] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory\n\ - install -d [-g group] [-m mode] [-o owner] directory ...\n"); +usage: install [-CcDps] [-f flags] [-g group] [-m mode] [-o owner] file1 file2\n\ + install [-CcDps] [-f flags] [-g group] [-m mode] [-o owner] f1 ... fN dir\n\ + install -d [-g group] [-m mode] [-o owner] directory ...\n"); exit(EX_USAGE); /* NOTREACHED */ } -- cgit v1.1