Skip to content

Commit

Permalink
pkg_info -Q -> pkg_info -aQ
Browse files Browse the repository at this point in the history
pkglocate -> pkg_locate

from maxim
  • Loading branch information
tj committed Dec 9, 2024
1 parent 2b0270d commit e327242
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions faq/faq15.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,21 +144,21 @@ <h2 id="PkgFind">Finding Packages</h2>
architectures.

<p>
To search for any given package name, use the <code>-Q</code> flag of
To search for any given package name, use the <code>-aQ</code> flags of
<a href="https://man.openbsd.org/pkg_info">pkg_info(1)</a>.

<pre class="cmdbox">
$ <b>pkg_info -Q unzip</b>
$ <b>pkg_info -aQ unzip</b>
lunzip-1.14p0
unzip-6.0p17
unzip-6.0p17-iconv
</pre>

Another way to find what you're looking for is with the <code>pkglocate</code>
Another way to find what you're looking for is with the <code>pkg_locate</code>
command, available from the <code>pkglocatedb</code> package.

<pre class="cmdbox">
$ <b>pkglocate mutool</b>
$ <b>pkg_locate mutool</b>
mupdf-1.24.9-js:textproc/mupdf,js:/usr/local/bin/mutool
mupdf-1.24.9-js:textproc/mupdf,js:/usr/local/man/man1/mutool.1
mupdf-1.24.9:textproc/mupdf:/usr/local/bin/mutool
Expand Down

0 comments on commit e327242

Please sign in to comment.