Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Document long options
Matthew Seaman committed 11 years ago
commit bb236a62eb0fb7666fc0d49dd3571866ea75d4af
parent 33b2ccf
1 file changed +24 -17
modified docs/pkg-install.8
@@ -15,7 +15,7 @@
.\"     @(#)pkg.8
.\" $FreeBSD$
.\"
-
.Dd May 05, 2014
+
.Dd May 26, 2014
.Dt PKG-INSTALL 8
.Os
.Sh NAME
@@ -27,6 +27,13 @@
.Op Fl r Ar reponame
.Op Fl Cgix
.Ar <pkg-origin|pkg-name|pkg-name-version> ...
+
.Pp
+
.Nm
+
.Op Cm --{automatic,force,no-install-scripts,ignore-missing}
+
.Op Cm --{dry-run,fetch-only,quiet,from-root,no-repo-update,yes}
+
.Op Cm --repository Ar reponame
+
.Op Cm --{case-sensitive,glob,case-insensitive,regex}
+
.Ar <pkg-origin|pkg-name|pkg-name-version> ...
.Sh DESCRIPTION
.Nm
is used for installation of packages from a package repository or
@@ -106,28 +113,28 @@ in
.Sh OPTIONS
The following options are supported by
.Nm :
-
.Bl -tag -width F1
-
.It Fl A
+
.Bl -tag -width automatic
+
.It Fl A , Cm --automatic
Mark the installed packages as orphan.
Will be automatically removed if no other packages depend on them.
For more information please refer to
.Xr pkg-autoremove 8
-
.It Fl C
+
.It Fl C , Cm --case-sensitive
Make the standard or the regular expression
.Fl ( x )
matching against
.Ar pkg-name
case sensitive.
-
.It Fl f
+
.It Fl f , Cm --force
Force the reinstallation of the package if already installed.
-
.It Fl g
+
.It Fl g , Cm --glob
Treat the package names as shell glob patterns.
-
.It Fl I
+
.It Fl I , Cm --no-install-scripts
If any installation scripts (pre-install or post-install) exist for a given
package, do not execute them.
When a package is updated, deinstallation
scripts (pre-deinstall or post-deinstall) are not run either.
-
.It Fl i
+
.It Fl i , Cm --case-sensitive
Make the standard or the regular expression
.Fl ( x )
matching against
@@ -137,42 +144,42 @@ This is the default, unless modified by setting
.Ev CASE_SENSITIVE_MATCH
to true in
.Pa pkg.conf .
-
.It Fl M
+
.It Fl M , Cm --ignore-missing
Force the installation of the package with missing dependencies.
-
.It Fl n
+
.It Fl n , Cm --dry-run
Dry-run mode.
The list of changes to packages is always printed, but
no changes are actually made.
-
.It Fl F
+
.It Fl F , Cm --fetch-only
Do not perform actual installation of packages, merely fetch packages
that should be upgraded and detect possible conflicts.
-
.It Fl q
+
.It Fl q , Cm --quiet
Force quiet output, except when
.Fl n
is used, where
.Nm
will always show packages to be installed, upgraded or deleted.
-
.It Fl R
+
.It Fl R , Cm --from-root
When used with
.Fl f ,
reinstalls any packages that require the given package.
-
.It Fl r Ar reponame
+
.It Fl r Ar reponame , Cm --repository Ar reponame
Install packages from only the named repository,
irrespective of the configured
.Dq active
status from
.Pa repo.conf .
-
.It Fl U
+
.It Fl U , Cm --no-repo-update
Suppress the automatic update of the local copy of the repository catalogue
from remote. 
Automatic repository catalogue updates are only attempted when the
effective UID of the process has write access to the package database.
Otherwise they are silently ignored.
-
.It Fl x
+
.It Fl x , Cm --regex
Treat the package names as regular expressions according to the
"modern" or "extended" syntax of
.Xr re_format 7 .
-
.It Fl y
+
.It Fl y , Cm --yes
Assume yes when asked for confirmation before package installation.
.El
.Sh ENVIRONMENT