ladybird/Userland/Utilities
Brian Gianforcaro 072c264a04 Utilities: Fix the --list-syscalls option to syscall(1)
The 'syscall-arguments' positional arg being required was
breaking the scenario where the user just passes the
'--list-syscalls' argument.

Instead, make the argument not required, and manually handle
the error path our selves.

Closes: #6574
2021-04-23 13:24:39 +02:00
..
adjtime.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
allocate.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
aplay.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
arp.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
avol.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
base64.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
basename.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
beep.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
bt.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
cal.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
cat.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
checksum.cpp Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
chgrp.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
chmod.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
chown.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
chres.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
chroot.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
clear.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CMakeLists.txt Tests: Reorganize LibCompress unit tests 2021-04-21 08:00:32 +02:00
copy.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
cp.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CppParserTest.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
crash.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
cut.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
date.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
dd.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ddate.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
df.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
dirname.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
disasm.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
disk_benchmark.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
dmesg.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
du.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
echo.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
env.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
expr.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
false.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
fgrep.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
find.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
flock.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
fortune.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
functrace.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
gml-format.cpp Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
grep.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
gron.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
gunzip.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
gzip.cpp AK+Userland: Use idan.horowitz@serenityos.org for my copyright headers 2021-04-22 22:42:38 +02:00
head.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
hexdump.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
host.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
hostname.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
id.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ifconfig.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ini.cpp Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
jp.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
js.cpp Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
keymap.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
kill.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
killall.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ln.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ls.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
lsirq.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
lsof.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
lspci.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
man.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
md.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
misbehaving-application.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
mkdir.cpp Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
mkfifo.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
mknod.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
mktemp.cpp AK+Userland: Use idan.horowitz@serenityos.org for my copyright headers 2021-04-22 22:42:38 +02:00
modload.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
modunload.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
more.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
mount.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
mv.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
nc.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
nl.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
notify.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
nproc.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ntpquery.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
open.cpp Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
pape.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
passwd.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
paste.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
pidof.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ping.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
pmap.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PreprocessorTest.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
printf.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
pro.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
profile.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ps.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
purge.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
readelf.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
readlink.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
realpath.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
reboot.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
rm.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
rmdir.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
seq.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
shot.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
shuf.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
shutdown.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
sleep.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
sort.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
sql.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
stat.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
strace.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
su.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
sync.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
syscall.cpp Utilities: Fix the --list-syscalls option to syscall(1) 2021-04-23 13:24:39 +02:00
sysctl.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
tail.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
tar.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
tee.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
telws.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
test_efault.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
test_env.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
test_io.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
test-bindtodevice.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
test-crypto.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
test-fuzz.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
test-js.cpp Userland: Use mattco@serenityos.org for my copyright headers 2021-04-23 08:24:53 +02:00
test-pthread.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
test-unveil.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
test-web.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
test.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
top.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
touch.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
tr.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
traceroute.cpp AK+Userland: Use idan.horowitz@serenityos.org for my copyright headers 2021-04-22 22:42:38 +02:00
tree.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
true.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
truncate.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
tt.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
tty.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
umount.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
uname.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
uniq.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
unzip.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
uptime.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
useradd.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
userdel.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
utmpupdate.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
w.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
watch.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
wc.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
which.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
whoami.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
xargs.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
yes.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
zip.cpp AK+Userland: Use idan.horowitz@serenityos.org for my copyright headers 2021-04-22 22:42:38 +02:00