HardenedBSD/bin
Jamie Landeg-Jones 3f0b80bc15 ps: handle incorrect -D values
I just noticed a slight issue with the '-D' option. Basically,
I accidentally typed something along the lines of:

ps -Dboth-p303

I.E. missing out the "space". Instead of giving an error, it behaved as
if I'd just typed "ps".

Looking at bin/ps/ps.c, where the -D option is parsed, it doesn't
error-out if there is no valid match.

This commit fixes the bug.
2024-05-06 19:13:35 +02:00
..
cat cat: fix cap_rights_init usage 2024-02-14 19:37:54 -05:00
chflags
chio chio(8): Fix typo in the copyright section 2024-02-13 12:38:27 +08:00
chmod
cp cp: Use warnc(). 2024-04-17 04:08:38 +02:00
cpuset
csh csh: Use HOST_CC when compiling hostprog used by csh build 2024-03-27 18:21:50 -04:00
date date.1: Note that nanosecond support is to appear first in 14.1 2024-05-02 22:48:08 +02:00
dd
df df(1): Fix grammar 2024-02-13 18:31:05 +08:00
domainname domainname(1): Grammar fix 2024-02-13 19:13:33 +08:00
echo echo(1): Add EXAMPLES 2024-04-08 18:35:40 +02:00
ed ed(1): Fix grammar in comment 2024-02-13 17:55:54 +08:00
expr
freebsd-version
getfacl
hostname tests: Fixing incomplete atf_skip if missing jail condition 2024-02-23 13:08:09 +01:00
kenv
kill
ln ln: Improve link(1) variant of ln(1). 2024-04-04 16:14:50 +02:00
ls ls.1: Mention CLICOLOR environment variable 2024-02-21 11:54:58 +01:00
mkdir
mv mv: Set file flags after setting file times 2024-04-16 09:18:15 -04:00
nproc nproc: Prefer sys/cdefs.h __unreachable over the builtin 2024-04-12 16:39:05 -06:00
pax pax(1): Grammar fix in file_subs.c 2024-02-13 15:09:32 +08:00
pkill
ps ps: handle incorrect -D values 2024-05-06 19:13:35 +02:00
pwait
pwd
realpath
rm
rmail
rmdir
setfacl
sh sh(1): Grammar fix in jobs.c 2024-02-13 14:13:08 +08:00
sleep sleep: Overhaul. 2024-03-25 16:59:02 +01:00
stty
sync sync.8: Document that the "sync dance" is not a thing 2024-04-25 11:49:50 +02:00
test
tests
timeout
uuidgen uuidgen(1): Add EXAMPLES to manual page 2024-04-27 20:53:59 +02:00
Makefile
Makefile.inc