]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
util: reduce arguments passed to argconfig_parse_type()
authorCaleb Sander Mateos <csander@purestorage.com>
Tue, 16 Jul 2024 16:35:07 +0000 (10:35 -0600)
committerDaniel Wagner <wagi@monom.org>
Wed, 17 Jul 2024 14:57:45 +0000 (16:57 +0200)
commit3771bbcc9a224554f4b2404e892776318ac193c7
tree45b298f16630df872bec376cbe767cd303f0fa91
parent2a68afc5f2b4c3f05f484f164e566fe22ee9413e
util: reduce arguments passed to argconfig_parse_type()

Arguments option and index are only used to get the name of the option.
This can be obtained from s->option instead.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
util/argconfig.c