From e3272426f54a4d2499eb7f8a027ddc424b09f14e Mon Sep 17 00:00:00 2001 From: tj Date: Mon, 9 Dec 2024 17:01:01 +0000 Subject: [PATCH] pkg_info -Q -> pkg_info -aQ pkglocate -> pkg_locate from maxim --- faq/faq15.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/faq/faq15.html b/faq/faq15.html index 6e9d88c98..741d9860c 100644 --- a/faq/faq15.html +++ b/faq/faq15.html @@ -144,21 +144,21 @@

Finding Packages

architectures.

-To search for any given package name, use the -Q flag of +To search for any given package name, use the -aQ flags of pkg_info(1).

-$ pkg_info -Q unzip
+$ pkg_info -aQ unzip
 lunzip-1.14p0
 unzip-6.0p17
 unzip-6.0p17-iconv
 
-Another way to find what you're looking for is with the pkglocate +Another way to find what you're looking for is with the pkg_locate command, available from the pkglocatedb package.
-$ pkglocate mutool
+$ pkg_locate mutool
 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