Document a detail in the present syntax of "ps -o foo=bar". Now

the header title string "bar" extends to the end of the argument
even if it contains commas or spaces, unlike in RELENG_4 or earlier.
The modern syntax agrees with SUSv3.

MFC after:	3 days
This commit is contained in:
Yaroslav Tykhiy 2006-08-18 14:12:38 +00:00
parent daa5817e92
commit 61b92b9a22
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161442

View File

@ -29,7 +29,7 @@
.\" @(#)ps.1 8.3 (Berkeley) 4/18/94
.\" $FreeBSD$
.\"
.Dd March 20, 2005
.Dd August 18, 2006
.Dt PS 1
.Os
.Sh NAME
@ -179,14 +179,15 @@ the standard header.
.It Fl o
Display information associated with the space or comma separated
list of keywords specified.
The last keyword in the list may be appended with an equals
.Pq Ql =
sign and a string spanning the rest of the argument.
This causes the printed header to use the specified string instead of
the standard header.
Multiple keywords may also be given in the form of more than one
.Fl o
option.
Keywords may be appended with an equals
.Pq Ql =
sign and a string.
This causes the printed header to use the specified string instead of
the standard header.
So the header texts for multiple keywords can be changed.
If all keywords have empty header texts, no header line is written.
.It Fl p
Display information about processes which match the specified process IDs.