diff options
author | yar <yar@FreeBSD.org> | 2006-08-18 14:12:38 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2006-08-18 14:12:38 +0000 |
commit | ad697718d27db38349872a89cf85dc095b653e91 (patch) | |
tree | 1e0c55e616709d3f9337476824f2a980e59604d1 /bin/ps | |
parent | b22d0cad1e901647255a5e44e5bc7bd42d062385 (diff) | |
download | FreeBSD-src-ad697718d27db38349872a89cf85dc095b653e91.zip FreeBSD-src-ad697718d27db38349872a89cf85dc095b653e91.tar.gz |
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
Diffstat (limited to 'bin/ps')
-rw-r--r-- | bin/ps/ps.1 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1 index 585113b..2575929 100644 --- a/bin/ps/ps.1 +++ b/bin/ps/ps.1 @@ -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. -Multiple keywords may also be given in the form of more than one -.Fl o -option. -Keywords may be appended with an equals +The last keyword in the list may be appended with an equals .Pq Ql = -sign and a string. +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. +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. |