Bug 274246 - mandoc has no version parameter
Summary: mandoc has no version parameter
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 15.0-CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks: 274423
  Show dependency treegraph
 
Reported: 2023-10-03 15:43 UTC by Wolfram Schneider
Modified: 2023-12-28 15:46 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schneider freebsd_committer freebsd_triage 2023-10-03 15:43:45 UTC
mandoc has no version parameter. If you want to know which mandoc version is installed, you have to read the source in src/contrib/mandoc/Makefile

It would be great if mandoc has a version parameter (e.g. -v)


GNU groff works fine:

$ groff --version
GNU groff version 1.23.0
Comment 1 Baptiste Daroussin freebsd_committer freebsd_triage 2023-10-13 06:54:39 UTC
upstream will never accept a version parameter as far as I can tell, at least this is the case for most things that comes out of openbsd. (Maybe you can ask Ingo he may have an opinion)