Put the description of the -c option in the right place, as

promised by the Argument List Processing section introduction.
What follows the option in the options list is its long name,
not its argument (as is the case for the -c option).  Also
sort references in the SEE ALSO section.

Approved by:	re (blanket)
This commit is contained in:
Ruslan Ermilov 2005-06-14 07:50:44 +00:00
parent b29a2e6841
commit fd50df303c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=147361

View File

@ -196,12 +196,6 @@ Flag variables for export when assignments are made to them.
Enable asynchronous notification of background job
completion.
(UNIMPLEMENTED)
.It Fl c Li string
Read commands from the
.Ar string
operand instead of from the standard input.
Keep in mind that this option only accepts a single string as its
argument, hence multi-word strings must be quoted.
.It Fl C Li noclobber
Do not overwrite existing files with
.Dq Li > .
@ -309,6 +303,14 @@ Useful for debugging.
.El
.Pp
The
.Fl c
option causes the commands to be read from the
.Ar string
operand instead of from the standard input.
Keep in mind that this option only accepts a single string as its
argument, hence multi-word strings must be quoted.
.Pp
The
.Fl /+o
option takes as its only argument the long name of an option
to be enabled or disabled.
@ -2125,10 +2127,10 @@ editing modes.
.Xr getopt 1 ,
.Xr pwd 1 ,
.Xr test 1 ,
.Xr umask 2 ,
.Xr vi 1 ,
.Xr execve 2 ,
.Xr getrlimit 2 ,
.Xr umask 2 ,
.Xr editrc 5
.Sh HISTORY
A