cbbe8fe324
When getopt usage was added (plus long options) in the
patch shown below, top no longer returned EXIT_FAILURE
when the error message was generated by getopt itself.
This commit will restore the proper behavior no matter
who might issue a command line argument error message.
Thanks to Bastian Bittorf for discovering this buglet.
Reference(s):
https://gitlab.com/procps-ng/procps/-/issues/273
. sep, 2021 - getopt with long form args
commit
|
||
---|---|---|
.. | ||
ps | ||
tests | ||
top | ||
free.c | ||
kill.c | ||
pgrep.c | ||
pidof.c | ||
pmap.c | ||
pwdx.c | ||
skill.c | ||
slabtop.c | ||
sysctl.c | ||
tload.c | ||
uptime.c | ||
vmstat.c | ||
w.c | ||
watch.c |