Page MenuHomeFreeBSD

sysctl(8): clarify -n flag
ClosedPublic

Authored by fernape on Aug 21 2020, 6:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 28, 7:57 AM
Unknown Object (File)
Mon, Oct 28, 7:57 AM
Unknown Object (File)
Mon, Oct 28, 7:57 AM
Unknown Object (File)
Mon, Oct 28, 7:37 AM
Unknown Object (File)
Oct 4 2024, 10:25 AM
Unknown Object (File)
Sep 22 2024, 12:59 AM
Unknown Object (File)
Sep 4 2024, 3:11 PM
Unknown Object (File)
Aug 19 2024, 1:51 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