In order to improve usability of packages in Fedora, project Man Page Scan was created and its task is to provide consistency of man pages (and documentation in general). The results are now available for package maintainers to fix documentation issues. If you need to re-run the check yourself, here is the simple process of man page check: 1. Download man-page-day from: https://pagure.io/ManualPageScan/blob/master/f/man-page-day.sh 2. Run the script: $ ./man-page-day.sh opensm
Created attachment 1473097 [details] Logs
cat man_page.txt Current version of package: opensm-3.3.20-8.fc28.x86_64 checking whether binary files have man pages: [ OK ] binary /usr/sbin/opensm has man page /usr/share/man/man8/opensm.8.gz [ Warn ] man page is in section 8. Only commands requiring admin privileges, or deamons should be in this section, the rest should be in section 1 [ OK ] binary /usr/sbin/osmtest has man page /usr/share/man/man8/osmtest.8.gz [ Warn ] man page is in section 8. Only commands requiring admin privileges, or deamons should be in this section, the rest should be in section 1 === Those two commands do need admin privileges to run. The warn message is expected. checking whether config files have man pages: [ Error ] config file /etc/logrotate.d/opensm has no man page! Check it's content for proper documentation === It is self document. If users need a doc for this, they should read manpage of "logrotate(8)". [ Error ] config file /etc/rdma/opensm.conf has no man page! Check it's content for proper documentation === It is self document. There is comment for every thing in the file. [ Error ] config file /etc/rdma/partitions.conf has no man page! Check it's content for proper documentation === Beside self document. There is documentation for partition in the opensm(8) file. [ Error ] config file /etc/rwtab.d/opensm has no man page! Check it's content for proper documentation === Users should read "rwtab(5)", if they want to understand /etc/rwtab.d/opensm. [ Error ] config file /etc/sysconfig/opensm has no man page! Check it's content for proper documentation === Self document file. There is in-line comment for every thing. checking for unused man pages: [ Warn ] these (2) man pages left unassigned: /usr/share/man/man5/torus-2QoS.conf.5.gz /usr/share/man/man8/torus-2QoS.8.gz now checking individual man pages: checking /usr/share/man/man5/torus-2QoS.conf.5.gz: [ OK ] man page parsing with lexgrog succeeded [ OK ] man page doesn't contain any repeated word checking /usr/share/man/man8/opensm.8.gz: [ OK ] man page parsing with lexgrog succeeded [ OK ] man page doesn't contain any repeated word checking /usr/share/man/man8/osmtest.8.gz: [ OK ] man page parsing with lexgrog succeeded [ OK ] man page doesn't contain any repeated word checking /usr/share/man/man8/torus-2QoS.8.gz: [ OK ] man page parsing with lexgrog succeeded [ OK ] man page doesn't contain any repeated word Summary: 10x OK, 3 warnings, 5 errors