[Bug 264560] Give mandoc a -V option to provide volume name

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Jun 2022 23:29:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264560

            Bug ID: 264560
           Summary: Give mandoc a -V option to provide volume name
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: kargl@FreeBSD.org

Created attachment 234568
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234568&action=edit
diff of mandoc with -V option

The mandoc command is hardcioded to specify a FreeBSD manpage.  I use mandoc
and mdoc(7) for my personal projects.  This gives the odd appearance of 

% mandoc tier.1 | head -1
TIER(1)                 FreeBSD General Commands Manual                TIER(1)

which is not what I want.  So, I hacked up mandoc to accept a -V option.

% mandoc -V "Steve's Menagerie" tier.1 | head -1
TIER(1)                        Steve's Menagerie                       TIER(1)

Please commit.

-- 
You are receiving this mail because:
You are the assignee for the bug.