summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_install/create/main.c10
-rw-r--r--usr.sbin/pkg_install/create/pkg_create.18
2 files changed, 17 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/create/main.c b/usr.sbin/pkg_install/create/main.c
index 0e18187..8c4bc81 100644
--- a/usr.sbin/pkg_install/create/main.c
+++ b/usr.sbin/pkg_install/create/main.c
@@ -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;
diff --git a/usr.sbin/pkg_install/create/pkg_create.1 b/usr.sbin/pkg_install/create/pkg_create.1
index 34a548b..3d29b52 100644
--- a/usr.sbin/pkg_install/create/pkg_create.1
+++ b/usr.sbin/pkg_install/create/pkg_create.1
@@ -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."
OpenPOWER on IntegriCloud