Add -N and -Y flags for auto-answer feature.

This commit is contained in:
Jordan K. Hubbard 1994-04-05 14:05:40 +00:00
parent 1cc30df665
commit ceaf47d002
2 changed files with 17 additions and 1 deletions

View File

@ -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;

View File

@ -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."