mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Add -N and -Y flags for auto-answer feature.
This commit is contained in:
parent
1cc30df665
commit
ceaf47d002
@ -1,5 +1,5 @@
|
||||
#ifndef lint
|
||||
static const char *rcsid = "$Id: main.c,v 1.4 1993/09/04 05:06:33 jkh Exp $";
|
||||
static const char *rcsid = "$Id: main.c,v 1.4 1993/09/12 20:45:29 jkh Exp $";
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -42,6 +42,14 @@ main(int argc, char **argv)
|
||||
Verbose = TRUE;
|
||||
break;
|
||||
|
||||
case 'N':
|
||||
AutoAnswer = NO;
|
||||
break;
|
||||
|
||||
case 'Y':
|
||||
AutoAnswer = YES;
|
||||
break;
|
||||
|
||||
case 'p':
|
||||
Prefix = optarg;
|
||||
break;
|
||||
|
@ -41,6 +41,14 @@ description of the input syntax is included in this document.
|
||||
.TP
|
||||
The following command line options are supported.
|
||||
.TP
|
||||
.B \-Y
|
||||
Assume a default answer of `Yes' for any questions asked.
|
||||
.B "Optional."
|
||||
.TP
|
||||
.B \-N
|
||||
Assume a default answer of `No' for any questions asked.
|
||||
.B "Optional."
|
||||
.TP
|
||||
.B \-v
|
||||
Turns on verbose output.
|
||||
.B "Optional."
|
||||
|
Loading…
Reference in New Issue
Block a user