The name and the synopsis disagree on whether to use hyphen or underscore...
PKG_SUBST(1) OpenBSD Reference Manual PKG_SUBST(1) NAME pkg_subst - substitute variables' values in files SYNOPSIS pkg-subst [-c] [-D name [=value]] [-g -group] [-o -owner] [file ...] - Mike