summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-11-06 08:06:15 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-11-06 08:06:15 +0000
commite6d50b3ee62e8f1ab652a08308644d62acd20f10 (patch)
treec2a5c19425d06f80d739bb61b84601c8c33d26e4 /usr.sbin/pkg_add
parent1f3ed5d1469dde5dfb1800a4d9c3e97354f5ba1e (diff)
document auto -i.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pkg_check.819
1 files changed, 11 insertions, 8 deletions
diff --git a/usr.sbin/pkg_add/pkg_check.8 b/usr.sbin/pkg_add/pkg_check.8
index cb077950f56..c9300aab703 100644
--- a/usr.sbin/pkg_add/pkg_check.8
+++ b/usr.sbin/pkg_add/pkg_check.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_check.8,v 1.4 2011/02/07 00:02:50 schwarze Exp $
+.\" $OpenBSD: pkg_check.8,v 1.5 2012/11/06 08:06:14 espie Exp $
.\"
.\" Copyright (c) 2010 Marc Espie <espie@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: February 7 2011 $
+.Dd $Mdocdate: November 6 2012 $
.Dt PKG_CHECK 8
.Os
.Sh NAME
@@ -23,7 +23,7 @@
.Sh SYNOPSIS
.Nm pkg_check
.Bk -words
-.Op Fl fimnqvx
+.Op Fl fIimnqvx
.Op Fl D Ar name Ns Op = Ns Ar value
.Ek
.Sh DESCRIPTION
@@ -67,10 +67,10 @@ Checks that there are no other random objects under
By default,
.Nm
will only perform very safe transformations, such as the removal of core-dumps.
-.Fl f
-or
-.Fl i
-are the only way to perform further changes.
+.Nm
+will ask the user for more permanent changes in interactive mode,
+or perform them anyways with option
+.Fl f .
.Pp
The options are as follows:
.Bl -tag -width Ds
@@ -87,8 +87,11 @@ do not check digital signatures.
.El
.It Fl f
Force the removal of bogus package information.
+.It Fl I
+Force non-interactive mode.
+Default is to be interactive when run from a tty.
.It Fl i
-Ask user whether to irrevocably remove bogus package information.
+Force interactive mode, even if not run from a tty.
.It Fl m
Causes
.Nm