From 96f61a27b755cf0cd7ec518aeaed3dfe40bfde43 Mon Sep 17 00:00:00 2001 From: Craig Small Date: Mon, 19 Feb 2018 21:05:42 +1100 Subject: [PATCH] docs: sysctl.8 clarify when w flag is required The w flag is not needed for key=val type options but only forces all options to be that format. References: procps-ng/procps#83 --- sysctl.8 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sysctl.8 b/sysctl.8 index c089126a..587b98ed 100644 --- a/sysctl.8 +++ b/sysctl.8 @@ -6,7 +6,7 @@ .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details." -.TH SYSCTL "8" "Jan 2012" "procps-ng" "System Administration" +.TH SYSCTL "8" "2018-02-19" "procps-ng" "System Administration" .SH NAME sysctl \- configure kernel parameters at runtime .SH SYNOPSIS @@ -38,9 +38,7 @@ is the key and .I value is the value to set it to. If the value contains quotes or characters which are parsed by the shell, you may need to enclose the value in double -quotes. This requires the -.B \-w -parameter to use. +quotes. .TP \fB\-n\fR, \fB\-\-values\fR Use this option to disable printing of the key name when printing values. @@ -56,7 +54,7 @@ have programmable completion. Use this option to not display the values set to stdout. .TP \fB\-w\fR, \fB\-\-write\fR -Use this option when you want to change a sysctl setting. +Use this option when all arguments prescribe a key to be set. .TP \fB\-p\fR[\fIFILE\fR], \fB\-\-load\fR[=\fIFILE\fR] Load in sysctl settings from the file specified or /etc/sysctl.conf if none