summaryrefslogtreecommitdiff
path: root/bin/ps
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-10-19 18:34:06 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-10-19 18:34:06 +0000
commit94fd2a568f7ff10ee52f69726dfaad058ef17653 (patch)
tree9b001d0c9db8502213bce0e024e0b79c0238d71d /bin/ps
parent7aba8e9b446901982da24c12cf28023db2701b30 (diff)
Make the description of COLUMNS a bit more readable.
Triggered by a different patch from Michal Mazurek. Joint work by tb@, jmc@, and tedu@, but no one ever committed it.
Diffstat (limited to 'bin/ps')
-rw-r--r--bin/ps/ps.113
1 files changed, 7 insertions, 6 deletions
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
index ac6d6635cbc..7be363ed889 100644
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ps.1,v 1.109 2016/09/23 06:28:08 bentley Exp $
+.\" $OpenBSD: ps.1,v 1.110 2016/10/19 18:34:05 schwarze Exp $
.\" $NetBSD: ps.1,v 1.16 1996/03/21 01:36:28 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
@@ -30,7 +30,7 @@
.\"
.\" @(#)ps.1 8.3 (Berkeley) 4/18/94
.\"
-.Dd $Mdocdate: September 23 2016 $
+.Dd $Mdocdate: October 19 2016 $
.Dt PS 1
.Os
.Sh NAME
@@ -543,13 +543,14 @@ If set to a positive integer,
output is formatted to the given width in columns.
Otherwise,
.Nm
-defaults to the terminal width \(mi 1,
-or 79 columns if none of
+defaults to the terminal width minus 1.
+If none of
.Dv stdout ,
-.Dv stderr
+.Dv stderr ,
and
.Dv stdin
-are a terminal.
+are a terminal,
+79 columns are used.
.It Ev TZ
The time zone to use when displaying dates.
See