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
chflags
chio
chmod
cp
cpuset
csh
date
dd
df
domainname
echo
ed
expr
freebsd-version
getfacl
hostname
kenv
kill
ln
ls
mkdir
mv
nproc
pax
pkill
ps ps: handle incorrect -D values 2024-05-06 19:13:35 +02:00
pwait pwait.1: add missing prompt and command in examples 2023-11-27 10:59:52 -06:00
pwd
realpath
rm
rmail
rmdir
setfacl
sh
sleep
stty
sync
test
tests
timeout
uuidgen
Makefile
Makefile.inc