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.
This commit is contained in:
parent
ac82fcdd23
commit
61c866689b
@ -40,7 +40,7 @@ static const char copyright[] =
|
|||||||
#ifndef lint
|
#ifndef lint
|
||||||
/*static char sccsid[] = "From: @(#)xinstall.c 8.1 (Berkeley) 7/21/93";*/
|
/*static char sccsid[] = "From: @(#)xinstall.c 8.1 (Berkeley) 7/21/93";*/
|
||||||
static const char rcsid[] =
|
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 */
|
#endif /* not lint */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
@ -80,7 +80,7 @@ static const char rcsid[] =
|
|||||||
|
|
||||||
#include "pathnames.h"
|
#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;
|
int mode = S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH;
|
||||||
char *group, *owner, pathbuf[MAXPATHLEN];
|
char *group, *owner, pathbuf[MAXPATHLEN];
|
||||||
char pathbuf2[MAXPATHLEN];
|
char pathbuf2[MAXPATHLEN];
|
||||||
@ -677,9 +677,9 @@ void
|
|||||||
usage()
|
usage()
|
||||||
{
|
{
|
||||||
(void)fprintf(stderr,"\
|
(void)fprintf(stderr,"\
|
||||||
usage: install [-CcDpSs] [-f flags] [-g group] [-m mode] [-o owner] file1 file2\n\
|
usage: install [-CcDps] [-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 [-CcDps] [-f flags] [-g group] [-m mode] [-o owner] f1 ... fN dir\n\
|
||||||
install -d [-g group] [-m mode] [-o owner] directory ...\n");
|
install -d [-g group] [-m mode] [-o owner] directory ...\n");
|
||||||
exit(EX_USAGE);
|
exit(EX_USAGE);
|
||||||
/* NOTREACHED */
|
/* NOTREACHED */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user