]> granicus.if.org Git - procps-ng/commit
top: make command line switch parsing even more robust
authorJim Warner <james.warner@comcast.net>
Tue, 21 Mar 2017 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Wed, 29 Mar 2017 11:10:33 +0000 (22:10 +1100)
commit3e5c950a5e22320c9eece08584ac6b3292f09315
tree4da8a447b2633f9d98a4ce7859bce49e5a76a0c8
parent810e1d38ab220a87eba01f693ed2446aa9521758
top: make command line switch parsing even more robust

This program has always tried to maintain an extermely
robust command line parsing procedure, far more robust
that what's available with the getopt stuff. But, with
the introduction of our first numeric switch it should
have been made even more robust than, in fact, it was.

This commit will now accomplish such a desirable goal.

Reference(s):
. added '1' command line switch
commit 5e708c5db71c2c765f5926fbc771471fa69c0ea6

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c