From c2661c66564ac834ff695f86e4ec5a4e7a8dd998 Mon Sep 17 00:00:00 2001 From: Martin George Date: Thu, 4 Jun 2026 00:12:17 +0530 Subject: [PATCH] nvme: ensure log_level is properly updated The log_level for certain commands like show-topology and tls-key does not get updated even when the verbose option is passed to them. Fix this by ensuring parse_args() is invoked in these commands instead of argconfig_parse(), so that the log_level gets properly updated here. Signed-off-by: Martin George --- nvme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nvme.c b/nvme.c index 956dd07470..a10d045e60 100644 --- a/nvme.c +++ b/nvme.c @@ -10297,7 +10297,7 @@ static int tls_key(int argc, char **argv, struct command *acmd, struct plugin *p OPT_FLAG("export", 'e', &cfg.export, export), OPT_STR("revoke", 'r', &cfg.revoke, revoke)); - err = argconfig_parse(argc, argv, desc, opts); + err = parse_args(argc, argv, desc, opts); if (err) return err; @@ -10403,7 +10403,7 @@ static int show_topology_cmd(int argc, char **argv, struct command *acmd, struct NVME_ARGS(opts, OPT_FMT("ranking", 'r', &cfg.ranking, ranking)); - err = argconfig_parse(argc, argv, desc, opts); + err = parse_args(argc, argv, desc, opts); if (err) return err;