Page MenuHomeFreeBSD

sysctl(8): clarify -n flag
ClosedPublic

Authored by fernape on Aug 21 2020, 6:16 PM.

Details

Reviewers
emaste
Group Reviewers
manpages
Commits
rS364481: sysctl(8): clarify -n flag
Summary

Reported in PR 242191

-n omits the name of the variable regardless of the type of information that is
requested. Rephrase to clarify this point.

fernape@beastie:~$ sysctl hw.pagesize
hw.pagesize: 4096
fernape@beastie:~$ sysctl -n hw.pagesize
4096
fernape@beastie:~$ sysctl -d hw.pagesize
hw.pagesize: System memory page size
fernape@beastie:~$ sysctl -d -n hw.pagesize
System memory page size
Test Plan
  • mandoc -Tlint reports a broken cross reference for zsh(1)
  • igor clean
  • aspell happy
  • man ./sysctl.8 renders the page properly

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.