Page MenuHomeFreeBSD

sysctl(8): clarify -n flag
ClosedPublic

Authored by fernape on Aug 21 2020, 6:16 PM.
Tags
None
Referenced Files
F168777163: D26149.diff
Sun, Aug 30, 2:44 AM
F168765537: D26149.id.diff
Sun, Aug 30, 1:14 AM
Unknown Object (File)
Wed, Aug 26, 10:21 AM
Unknown Object (File)
Wed, Aug 26, 5:11 AM
Unknown Object (File)
Wed, Aug 26, 4:41 AM
Unknown Object (File)
Tue, Aug 25, 1:54 PM
Unknown Object (File)
Mon, Aug 24, 7:04 PM
Unknown Object (File)
Mon, Aug 24, 4:35 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 - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable