freebsd-src/usr.bin
Brooks Davis 7ca260df8c proccontrol: use a table for modes
Add a central table of modes and loop over it rather than spelling out
10 essentialy identical strcmp if statemnts.  Use the stable to generate
usage as well reducing the number of ifdefs.

Disallow multiple -m options.  Previouly multiple were allowed, but only
the last one was used and there was no indication this happened.

Reviewed by:	kib, markj
Differential Revision:	https://reviews.freebsd.org/D46426
2024-09-12 12:35:04 +01:00
..
addr2line
alias
apply
ar
asa
at
awk
backlight
banner
basename
bc
beep beep: show error upon failure to open sound device 2024-09-03 10:27:43 -04:00
biff
bintrans
bluetooth
bmake
brandelf
bsdcat
bsddialog
bsdiff
bzip2
bzip2recover
c89
c99
caesar
calendar calendar: Add myself to calendar.freebsd 2024-08-27 02:25:22 +00:00
cap_mkdb
chat
chkey
chpass
cksum
clang
cmp
col
colrm
column
comm
compile_et
compress
cpio
csplit
ctags
ctlstat
cut
cxxfilt
dc
diff diff: Fix integer overflow. 2024-07-29 16:02:29 +02:00
diff3
dirname
dpv
drill
dtc
du du: Add version information to libxo output 2024-09-06 12:34:30 -06:00
ee
elfctl
elfdump
enigma
env
etdump
expand
factor
false
fetch fetch(1): suppress "Not Modified" in quiet mode 2024-09-07 09:14:23 +07:00
file
file2c
find
finger
fmt
fold
fortune
from
fstat
fsync
ftp
gcore
gencat
genl
getaddrinfo getaddrinfo.{1,3}: Cross-reference ip6addrctl(8) 2024-09-06 12:34:32 -06:00
getconf
getent
getopt
gh-bc
gprof
grdc
grep grep: Default to -p instead of -S. 2024-09-04 15:53:22 -04:00
gzip
head
hesinfo
hexdump
host
iconv
id
ident
indent
ipcrm
ipcs
iscsictl iscsictl: Add version information to libxo output 2024-09-06 12:34:30 -06:00
join
jot
kdump kdump: Print splice structures 2024-09-10 16:52:01 +00:00
keylogin
keylogout
killall
ktrace
ktrdump
kyua
lam
last
lastcomm
ldd
ldd32
leave
less
lessecho
lesskey
lex
limits
locale
localedef
locate locate.updatedb: Explicitly exit from trap code. 2024-08-29 17:05:47 +02:00
lock
lockf
logger
login
logins
logname
look
lorder
lsvfs
lzmainfo
m4
mail
man
mandoc
mdo
mesg
ministat
mkcsmapper
mkcsmapper_static
mkdep
mkesdb
mkesdb_static
mkfifo
mkimg
mkstr
mktemp
mkuzip
morse
msgs
mt
nc
ncal
ncurses
netstat netstat: Add version information to libxo output 2024-09-06 12:34:31 -06:00
newgrp
newkey
nfsstat
nice
nl
nm
nohup
number
objcopy
ofed
pagesize
pamtest
passwd
paste
patch
pathchk
perror
pom
posixmqcontrol
posixshmcontrol
pr
primes
printenv
printf
proccontrol proccontrol: use a table for modes 2024-09-12 12:35:04 +01:00
procstat
protect
quota
random
rctl
readelf
renice
resizewin
rev
revoke
rpcgen
rpcinfo
rs
rup
ruptime
rusers
rwall
rwho
script
sdiff sdiff: Fix usage message. 2024-07-29 16:02:25 +02:00
sdiotool
sed
seq
shar
showmount
size
smbutil
sockstat sockstat: Show the address of the spliced socket when -I is specified 2024-09-10 16:52:01 +00:00
soelim
sort
split
ssh-copy-id
stat
stdbuf
strings
su
systat
tabs
tail tail -F: fix crash 2024-08-19 10:54:24 +03:00
talk
tar
tcopy Typo. 2024-09-03 16:00:17 +00:00
tee
telnet
tests
tftp
time
tip
top
touch
tr
true
truncate
truss
tsort
tty
ul
uname
unexpand
unifdef
uniq
units
unvis
unzip
usbhidaction
usbhidctl
users
vacation
vgrind
vi
vis
vmstat vmstat: Add root element to libxo output 2024-09-02 18:22:14 -07:00
vtfontcvt
w w: Add version information to libxo output 2024-09-06 12:34:31 -06:00
wall
wc wc: Add version information to libxo output 2024-09-06 12:34:31 -06:00
wg
what
whereis
which
who
whois
write
xargs
xinstall
xo
xohtml
xolint
xopo
xstr
xz
xzdec
yacc
yes
ypcat
ypmatch
ypwhich
zstd
Makefile
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc