cvs commit: src/bin/ps ps.c
Garance A Drosehn
gad at FreeBSD.org
Tue Jun 8 00:11:26 GMT 2004
gad 2004-06-08 00:11:26 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_4)
bin/ps ps.c
Log:
MFC *: Fix the kludge-old-options processing so `ps tpt' will be treated
the same as `ps -tpt', instead of being changed into `ps -tpT'. Also adjust
it so `ps t p0' is treated like `ps -t p0', instead of making it `ps -T p0'.
This includes the rewrite of the kludge-option processing, but it does NOT
remove the long-undocumented BACKWARD_COMPATIBILITY compile-time option.
If you delete the '#define BACKWARD_COMPATIBILITY' line, you'll get the
newer handling for "extra arguments", which is to treat them as requests
for processes.
Also brings in a number of style(9) improvements.
[* = 1.90 & 1.92 -> 1.98 ps.c]
PR: bin/52489 (for `ps tpt' and `ps t p0')
Submitted by: Jilles Tjoelker ( " )
Revision Changes Path
1.30.2.15 +126 -107 src/bin/ps/ps.c
More information about the cvs-src
mailing list