documentation improvements from Fred Hucht, upstream maintainer;

ok naddy@ benoit@
This commit is contained in:
schwarze 2014-11-03 19:19:44 +00:00
parent 61accd310b
commit 0ce99382a1
2 changed files with 15 additions and 7 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.19 2013/06/04 15:22:10 schwarze Exp $
# $OpenBSD: Makefile,v 1.20 2014/11/03 19:19:44 schwarze Exp $
COMMENT = list processes as a tree
DISTNAME = pstree-2.36
REVISION = 0
REVISION = 1
CATEGORIES = sysutils
HOMEPAGE = http://www.thp.uni-duisburg.de/pstree/
# GPL
PERMIT_PACKAGE_CDROM = Yes

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: pstree.1,v 1.3 2013/06/04 15:22:12 schwarze Exp $
.\" $OpenBSD: pstree.1,v 1.4 2014/11/03 19:19:44 schwarze Exp $
.\"
.\" Copyright (c) 2002 Sebastian Stark
.\" Copyright (c) 2013 Ingo Schwarze <schwarze@openbsd.org>
@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OF THIS MANUAL.
.\"
.Dd $Mdocdate: June 4 2013 $
.Dd $Mdocdate: November 3 2014 $
.Dt PSTREE 1
.Os
.Sh NAME
@ -26,6 +26,7 @@
.Op Fl Uw
.Op Fl f Ar file
.Op Fl g Ar n
.Op Fl l Ar n
.Op Fl p Ar pid
.Op Fl s Ar string
.Op Fl u Ar user
@ -63,10 +64,15 @@ reads from standard input.
.It Fl g Ar n
Use graphics chars for tree.
.Ar n
= 1:
IBM-850,
= 1: IBM-850,
.Ar n
= 2: VT100.
= 2: VT100,
.Ar n
= 3: UTF8.
.It Fl l Ar n
Show a maximum of
.Ar n
levels.
.It Fl p Ar pid
Show only parents and descendants of the process
.Ar pid .
@ -88,6 +94,7 @@ Wide output, not truncated to terminal width.
The width of the terminal in characters.
This can be set with
.Xr stty 1 Cm columns Ar number .
.El
.Sh EXIT STATUS
.Ex -std
.Sh EXAMPLES