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)
Tue, Jan 14, 6:34 AM
Unknown Object (File)
Tue, Jan 14, 4:10 AM
Unknown Object (File)
Dec 17 2024, 3:23 AM
Unknown Object (File)
Nov 30 2024, 10:20 AM
Unknown Object (File)
Nov 27 2024, 6:38 AM
Unknown Object (File)
Oct 28 2024, 7:57 AM
Unknown Object (File)
Oct 28 2024, 7:57 AM
Unknown Object (File)
Oct 28 2024, 7:57 AM

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