]> granicus.if.org Git - procps-ng/commit
top: some minor tweaks supporting long cmdline options
authorJim Warner <james.warner@comcast.net>
Wed, 8 Sep 2021 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Wed, 8 Sep 2021 11:35:54 +0000 (21:35 +1000)
commit271004bd0d3cc5e6b9404fd90bdbadaccd0597a4
treeab2dbb1e1506aa0df1d81c281efd2c462dbce82b
parent24bb9227ac05c41774781553c244c906b10634ce
top: some minor tweaks supporting long cmdline options

This darn patch began as 1 correction to an extraneous
comma in the man document. Then, it grew to include an
adjustment for a couple of additional man page things.

After that, I figured I might as well tighten up logic
dealing with those awful gaps in the getopt_long code.

[ the error_exit mentioned in the associated comment ]
[ will only be taken when '=' ends the argv vectors! ]

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