aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2021-08-17 15:58:03 +0000
committerEd Maste <emaste@FreeBSD.org>2021-08-17 16:10:44 +0000
commitdff1ba09f74725bb0a0b7b8c229ed4e6665b43e6 (patch)
tree216b253ee968b62541830c57a95712f2f7da9f25
parente86469075c5e391cc86e5bcd4f252712a69de37e (diff)
downloadsrc-dff1ba09f74725bb0a0b7b8c229ed4e6665b43e6.tar.gz
src-dff1ba09f74725bb0a0b7b8c229ed4e6665b43e6.zip
sysctl.9: put negative sense sysctl note in own paragraph
The sysctl man page cautions against negative-sense boolean sysctls (foobar_disable), but it gets lost at the end of a large paragraph. Move it to a separate paragraph in an attempt to make it more clear. This man page could use a more holistic review and edit pass. This change is simple and straightforward and I hope provides a small but immediate benefit.
-rw-r--r--share/man/man9/sysctl.91
1 files changed, 1 insertions, 0 deletions
diff --git a/share/man/man9/sysctl.9 b/share/man/man9/sysctl.9
index bae693489c73..f2b1159e71a8 100644
--- a/share/man/man9/sysctl.9
+++ b/share/man/man9/sysctl.9
@@ -1024,6 +1024,7 @@ underscore characters, as in
Underscore characters may be omitted only if the name consists of not more
than two words, each being not longer than four characters, as in
.Va bootfile .
+.Pp
For boolean sysctls, negative logic should be totally avoided.
That is, do not use names like
.Va no_foobar