summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2009-10-12 05:17:33 +0000
committerjmc <jmc@openbsd.org>2009-10-12 05:17:33 +0000
commit89296dccd7fd31d3a2a04cd6fd732ce2d392b87d (patch)
treeee995add2ae2b5b86d8f4869bd0d8901f193b23f
parentmask bits correctly in devid vpd for the PI (diff)
downloadwireguard-openbsd-89296dccd7fd31d3a2a04cd6fd732ce2d392b87d.tar.xz
wireguard-openbsd-89296dccd7fd31d3a2a04cd6fd732ce2d392b87d.zip
tweak previous;
-rw-r--r--usr.sbin/pkg_add/pkg_add4
-rw-r--r--usr.sbin/pkg_add/pkg_add.134
2 files changed, 19 insertions, 19 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add
index ef6d0940876..63c8596a95c 100644
--- a/usr.sbin/pkg_add/pkg_add
+++ b/usr.sbin/pkg_add/pkg_add
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_add,v 1.342 2009/10/11 22:08:27 espie Exp $
+# $OpenBSD: pkg_add,v 1.343 2009/10/12 05:17:33 jmc Exp $
#
# Copyright (c) 2003-2009 Marc Espie <espie@openbsd.org>
#
@@ -681,7 +681,7 @@ sub reorder
}
set_usage('pkg_add [-acIinqruvxz] [-A arch] [-B pkg-destdir] [-F keywords]',
-'[-L localbase] [-l list] [-P type] [-Q quick-destdir] pkg-name [...]');
+'[-L localbase] [-l file] [-P type] [-Q quick-destdir] pkg-name [...]');
our ($opt_a, $opt_v, $opt_n, $opt_I, $opt_L, $opt_B, $opt_A, $opt_P, $opt_Q, $opt_x, $opt_r, $opt_q, $opt_c, $opt_i, $opt_u, $opt_l, $opt_z);
$opt_v = 0;
diff --git a/usr.sbin/pkg_add/pkg_add.1 b/usr.sbin/pkg_add/pkg_add.1
index 9a4a8b3ec86..34c0447c953 100644
--- a/usr.sbin/pkg_add/pkg_add.1
+++ b/usr.sbin/pkg_add/pkg_add.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_add.1,v 1.80 2009/10/11 22:08:27 espie Exp $
+.\" $OpenBSD: pkg_add.1,v 1.81 2009/10/12 05:17:33 jmc Exp $
.\"
.\" Documentation and design originally from FreeBSD. All the code has
.\" been rewritten since. We keep the documentation's notice:
@@ -15,7 +15,7 @@
.\" Jordan K. Hubbard
.\"
.\"
-.Dd $Mdocdate: October 11 2009 $
+.Dd $Mdocdate: October 12 2009 $
.Dt PKG_ADD 1
.Os
.Sh NAME
@@ -28,8 +28,8 @@
.Op Fl A Ar arch
.Op Fl B Ar pkg-destdir
.Op Fl F Ar keywords
-.Op Fl l Ar file
.Op Fl L Ar localbase
+.Op Fl l Ar file
.Op Fl P Ar type
.Op Fl Q Ar quick-destdir
.Ar pkg-name Op Ar ...
@@ -278,18 +278,6 @@ If scripts exist for a given package, do not execute them.
Switch on interactive mode.
.Nm
may ask questions to the user if faced with difficult decisions.
-.It Fl l Ar file
-installs packages from the raw output of
-.Xr pkg_info 1 ,
-as saved in
-.Ar file .
-Generally, use with
-.Li pkg_info >file ,
-to reproduce an installation from machine to machine.
-.Fl l
-will try its best to reproduce the installation, even if the
-version numbers don't quite match and even if some packages cannot
-be found.
.It Fl L Ar localbase
Install a package under
.Ar localbase .
@@ -310,6 +298,18 @@ See
.Xr bsd.port.mk 5
for a description of
.Ev LOCALBASE .
+.It Fl l Ar file
+Installs packages from the raw output of
+.Xr pkg_info 1 ,
+as saved in
+.Ar file .
+Generally, use with
+.Li pkg_info \*(Gtfile ,
+to reproduce an installation from machine to machine.
+.Fl l
+will try its best to reproduce the installation, even if the
+version numbers don't quite match and even if some packages cannot
+be found.
.It Fl n
Don't actually install a package, just report the steps that
would be taken if it was.
@@ -376,13 +376,13 @@ Several
turn on more verbose output.
.It Fl x
Disable progress-meter.
-.El
.It Fl z
Fuzzy package addition:
.Nm
should do its best to match package names passed on the command line,
-even if the versions don't match and it will proceed even if
+even if the versions don't match and it will proceed even if
some packages can't be found.
+.El
.Pp
By default, when adding packages via FTP, the
.Xr ftp 1