Document the -N option in the usage message and the man page.

This commit is contained in:
Dag-Erling Smørgrav 2001-01-14 19:08:58 +00:00
parent b41686b9c5
commit 0ef56fd857
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71043
2 changed files with 10 additions and 8 deletions

View File

@ -40,14 +40,14 @@
.Nd get or set kernel state
.Sh SYNOPSIS
.Nm
.Op Fl bn
.Op Fl bNn
.Ar name ...
.Nm
.Op Fl bn
.Op Fl bNn
.Fl w
.Ar name=value ...
.Nm
.Op Fl bn
.Op Fl bNn
.Fl aAX
.Sh DESCRIPTION
The
@ -73,6 +73,8 @@ few bytes is dumped in hex.
Same as
.Fl A
except the entire value of opaque variables is hexdumped.
.It Fl N
Show only variable names, not their values.
.It Fl n
Specify that the printing of the field name should be
suppressed and that only its value should be output.

View File

@ -71,11 +71,11 @@ usage(void)
{
(void)fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n",
"usage: sysctl [-bn] variable ...",
" sysctl [-bn] -w variable=value ...",
" sysctl [-bn] -a",
" sysctl [-bn] -A",
" sysctl [-bn] -X");
"usage: sysctl [-bNn] variable ...",
" sysctl [-bNn] -w variable=value ...",
" sysctl [-bNn] -a",
" sysctl [-bNn] -A",
" sysctl [-bNn] -X");
exit(1);
}