| |
The following options are supported by
|
| |
.Nm :
|
| |
.Bl -tag -width origin
|
| - |
.It Fl a , Cm --all
|
| - |
Display all installed packages.
|
| |
.It Fl A , Cm --annotations
|
| |
Display any annotations added to the package.
|
| + |
.It Fl a , Cm --all
|
| + |
Display all installed packages.
|
| + |
.It Fl B , Cm --required-shlibs
|
| + |
Display all shared libraries used by
|
| + |
.Ar pkg-name .
|
| + |
.It Fl b , Cm --provided-shlibs
|
| + |
Display all shared libraries provided by
|
| + |
.Ar pkg-name .
|
| |
.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 , Cm --full
|
| - |
Display full information about the packages matching
|
| - |
.Ar pkg-name .
|
| - |
This is the default.
|
| - |
.It Fl R , Cm --raw
|
| - |
Display the full manifest (raw) for the packages matching
|
| - |
.Ar pkg-name .
|
| - |
.It Fl -raw-format Ar format
|
| - |
Choose the format of the raw output.
|
| - |
The format can be: ucl (default),
|
| - |
json, json-compact, yaml.
|
| + |
.It Fl D , Cm --pkg-message
|
| + |
Show the pkg-message for matching packages.
|
| + |
.It Fl d , Cm --dependencies
|
| + |
Display the list of packages on which
|
| + |
.Ar pkg-name
|
| + |
depends.
|
| + |
.It Fl E , Cm --show-name-only
|
| + |
Hides the full package output and only shows the package name.
|
| + |
This option is deprecated and exists only for Ports compatibility.
|
| |
.It Fl e , Cm --exists
|
| |
If
|
| |
.Ar pkg-name
|
| |
is installed and registered in the database, return 0, otherwise return 1.
|
| |
Useful for checking whether the package is installed.
|
| - |
.It Fl D , Cm --pkg-message
|
| - |
Show the pkg-message for matching packages.
|
| + |
.It Fl F Ar pkg-file , Cm --file Ar pkg-file
|
| + |
Displays information from the package archive
|
| + |
.Ar pkg-file .
|
| + |
.It Fl f , Cm --full
|
| + |
Display full information about the packages matching
|
| + |
.Ar pkg-name .
|
| + |
This is the default.
|
| |
.It Fl g , Cm --glob
|
| |
Treat
|
| |
.Ar pkg-name
|
| |
as a shell glob pattern.
|
| + |
.It Fl I , Cm --comment
|
| + |
Display the specified packages and their comments.
|
| |
.It Fl i , Cm --case-insensitive
|
| |
Make the standard or the regular expression
|
| |
.Fl ( x )
|
| |
.It Fl l , Cm --list-files
|
| |
Display all files installed by
|
| |
.Ar pkg-name .
|
| - |
.It Fl b , Cm --provided-shlibs
|
| - |
Display all shared libraries provided by
|
| - |
.Ar pkg-name .
|
| - |
.It Fl B , Cm --required-shlibs
|
| - |
Display all shared libraries used by
|
| - |
.Ar pkg-name .
|
| - |
.It Fl s , Cm --size
|
| - |
Display the total size of files installed by
|
| - |
.Ar pkg-name .
|
| - |
.It Fl q , Cm --quiet
|
| - |
Be
|
| - |
.Dq quiet .
|
| - |
Prints only the requested information without displaying many hints.
|
| |
.It Fl O , Cm --by-origin
|
| |
Search is done by the
|
| |
.Ar pkg-name
|
| |
origin.
|
| |
Added only for Ports compatibility.
|
| |
.Pp
|
| - |
.It Fl E , Cm --show-name-only
|
| - |
Hides the full package output and only shows the package name.
|
| - |
This option is deprecated and exists only for Ports compatibility.
|
| |
.It Fl o , Cm --origin
|
| |
Display
|
| |
.Ar pkg-name
|
| |
.It Fl p , Cm --prefix
|
| |
Display the installation prefix for each package matching
|
| |
.Ar pkg-name .
|
| - |
.It Fl F Ar pkg-file , Cm --file Ar pkg-file
|
| - |
Displays information from the package archive
|
| - |
.Ar pkg-file .
|
| + |
.It Fl q , Cm --quiet
|
| + |
Be
|
| + |
.Dq quiet .
|
| + |
Prints only the requested information without displaying many hints.
|
| + |
.It Fl R , Cm --raw
|
| + |
Display the full manifest (raw) for the packages matching
|
| + |
.Ar pkg-name .
|
| + |
.It Fl r , Cm --required-by
|
| + |
Display the list of packages which require
|
| + |
.Ar pkg-name .
|
| + |
.It Fl -raw-format Ar format
|
| + |
Choose the format of the raw output.
|
| + |
The format can be: ucl (default),
|
| + |
json, json-compact, yaml.
|
| + |
.It Fl s , Cm --size
|
| + |
Display the total size of files installed by
|
| + |
.Ar pkg-name .
|
| + |
.It Fl x , Cm --regex
|
| + |
Treat
|
| + |
.Ar pkg-name
|
| + |
as a regular expression according to the "modern" or "extended" syntax
|
| + |
of
|
| + |
.Xr re_format 7 .
|
| |
.El
|
| |
.Sh ENVIRONMENT
|
| |
The following environment variables affect the execution of
|