Jim Warner cbbe8fe324 top: ensure an EXIT_FAILURE with bad command line args
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 c91b371485b7ffaea3a7c669b080328d141dfb6b

Signed-off-by: Jim Warner <james.warner@comcast.net>
2023-03-08 22:18:39 +11:00
..
2023-03-01 17:20:42 +11:00
2023-02-07 21:09:48 +11:00
2023-02-07 21:09:48 +11:00
2023-02-07 21:09:48 +11:00
2023-02-07 21:09:48 +11:00
2023-02-07 21:09:48 +11:00
2023-02-07 21:09:48 +11:00
2023-02-07 21:09:48 +11:00
2023-02-07 21:09:48 +11:00
2023-02-07 21:09:48 +11:00
2023-02-07 21:09:48 +11:00
2023-02-07 21:09:48 +11:00
2023-02-07 21:09:48 +11:00