From ad697718d27db38349872a89cf85dc095b653e91 Mon Sep 17 00:00:00 2001 From: yar Date: Fri, 18 Aug 2006 14:12:38 +0000 Subject: 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 --- bin/ps/ps.1 | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'bin') 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. -- cgit v1.1