---
name: "pkg_check-manpages"
section: "1"
platform: "openbsd"
package: "man"
version: "8.0-current-20261101"
release: "OpenBSD 8.0-current (2026-11-01)"
platforms: ["openbsd"]
url: "https://new.carta.tech/pkg_check-manpages"
---

# pkg\_check-manpages(1)

verify manpage subjects in packages

## NAME

**pkg\_check-manpages** – verify manpage subjects in packages

## SYNOPSIS

**pkg\_check-manpages** \[**-p**\] \[*pkgname* *...*\]

## DESCRIPTION

**pkg\_check-manpages** is used to check manpages in a collection of packages. It will extract all manpages from the *pkgname* arguments into a directory named *manpages.XXXXXXXXXXXX*( see [mktemp(1)](/mktemp/1.md)) and run them through [makewhatis(8)](/makewhatis/8.md).

Note that this directory is not cleared on exit, so that the problematic manpages can be examined more precisely.

If no *pkgname* argument is passed, it will process all *\*.tgz* files in the current directory.

Options are as follows:

- **-p**

  Run [makewhatis(8)](/makewhatis/8.md) in picky mode.

Errors reported in picky mode should usually be fixed, as it means the subject line stored in the whatis database will be useless to find out the corresponding manpage.
