From: Craig Small Date: Fri, 13 Jan 2012 12:59:26 +0000 (+1100) Subject: sysctl -p has no space X-Git-Tag: v3.3.3~126 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=58a6c89cd1c99713fc89d3994b76f14b85bef824;p=procps-ng sysctl -p has no space The man page has examples like sysctl -p filename. Optional arguments using getopt cannot have a space between the option and argument. So the correct format is sysctl -pfilename --- diff --git a/sysctl.8 b/sysctl.8 index 9e4b9b75..37847d65 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" "June 2011" "procps-ng" "System Administration" +.TH SYSCTL "8" "Jan 2012" "procps-ng" "System Administration" .SH NAME sysctl \- configure kernel parameters at runtime .SH SYNOPSIS @@ -55,7 +55,7 @@ Use this option to not display the values set to stdout. \fB\-w\fR, \fB\-\-write\fR Use this option when you want to change a sysctl setting. .TP -\fB\-p\fR, \fB\-\-load\fR[=\fIFILE\fR] +\fB\-p\fR[\fIFILE\fR], \fB\-\-load\fR[=\fIFILE\fR] Load in sysctl settings from the file specified or /etc/sysctl.conf if none given. Specifying \- as filename means reading data from standard input. .TP @@ -117,7 +117,7 @@ Display version information and exit. .br /sbin/sysctl \-w kernel.domainname="example.com" .br -/sbin/sysctl \-p /etc/sysctl.conf +/sbin/sysctl \-p/etc/sysctl.conf .br /sbin/sysctl \-a \-\-pattern forward .br