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 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
domainname
echo echo(1): Add EXAMPLES 2024-04-08 18:35:40 +02:00
ed
expr
freebsd-version
getfacl
hostname
kenv
kill
ln ln: Improve link(1) variant of ln(1). 2024-04-04 16:14:50 +02:00
ls
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
pkill
ps ps: handle incorrect -D values 2024-05-06 19:13:35 +02:00
pwait
pwd
realpath
rm
rmail
rmdir
setfacl
sh
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