From 5f77ad23136dd14ac257ed58abd8886b138fe6c2 Mon Sep 17 00:00:00 2001 From: mikel Date: Thu, 5 Jun 1997 06:14:16 +0000 Subject: [PATCH] indicate more clearly that [Tfstv] options are mutually exclusive; fixes PR misc/2655. --- usr.sbin/pstat/pstat.8 | 8 ++++++-- usr.sbin/pstat/pstat.c | 6 +++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/usr.sbin/pstat/pstat.8 b/usr.sbin/pstat/pstat.8 index 406e7a20c428..7e5d95b74ff4 100644 --- a/usr.sbin/pstat/pstat.8 +++ b/usr.sbin/pstat/pstat.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: pstat.8,v 1.14 1997/05/28 22:03:34 pk Exp $ +.\" $NetBSD: pstat.8,v 1.15 1997/06/05 06:14:16 mikel Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -41,7 +41,11 @@ .Nd display system data structures .Sh SYNOPSIS .Nm pstat -.Op Fl Tfknstv +.Oo +.Fl T | Fl f | Fl s | +.Fl t | Fl v +.Oc +.Op Fl kn .Op Fl M Ar core .Op Fl N Ar system .Sh DESCRIPTION diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index c171425d7d29..9b7fbbb3296e 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -1,4 +1,4 @@ -/* $NetBSD: pstat.c,v 1.28 1997/05/28 19:26:52 pk Exp $ */ +/* $NetBSD: pstat.c,v 1.29 1997/06/05 06:14:17 mikel Exp $ */ /*- * Copyright (c) 1980, 1991, 1993 @@ -43,7 +43,7 @@ static char copyright[] = #if 0 from: static char sccsid[] = "@(#)pstat.c 8.9 (Berkeley) 2/16/94"; #else -static char *rcsid = "$NetBSD: pstat.c,v 1.28 1997/05/28 19:26:52 pk Exp $"; +static char *rcsid = "$NetBSD: pstat.c,v 1.29 1997/06/05 06:14:17 mikel Exp $"; #endif #endif /* not lint */ @@ -1043,6 +1043,6 @@ void usage() { (void)fprintf(stderr, - "usage: pstat [-Tfknstv] [-M core] [-N system]\n"); + "usage: pstat [-T|-f|-s|-t|-v] [-kn] [-M core] [-N system]\n"); exit(1); }