Subject: misc/2655: pstat usage() misleading
To: None <gnats-bugs@NetBSD.ORG>
From: Peter Seebach <seebs@taniemarie.solon.com>
List: netbsd-bugs
Date: 07/24/1996 18:06:22
>Number: 2655
>Category: misc
>Synopsis: pstat usage() info implies that -k and -n act like other flags
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 24 19:35:00 1996
>Last-Modified:
>Originator: Peter Seebach
>Organization:
>Release: 1.2_BETA
>Environment:
System: NetBSD taniemarie 1.2_BETA NetBSD 1.2_BETA (SEEBS) #3: Wed Jul 24 00:10:48 CDT 1996 seebs@taniemarie:/usr/src/sys/arch/amiga/compile/SEEBS amiga
>Description:
The pstat(8) usage message looks like
usage: pstat [-Tfknstv] [-M core] [-N system]
which makes k and n look like they're just options like
the others. In fact, they affect the interpretation of
the other options, so should perhaps be separated.
(This wouldn't have been so bad, except that I had an old
pstat.0 in /usr/share/man/man1, from years ago, which was
hiding the real documentation, which explains things.)
>How-To-Repeat:
Run pstat with no arguments.
>Fix:
No clue; the usage() format doesn't lend itself well to
distinguishing between options of which at least one must
be present, and options which are completely optional, and
affect the interpretation of others.
>Audit-Trail:
>Unformatted: