The nvme JSON outputs now print everything verbose. But this was
missed out for the get-feature command, so fix the same here.
Signed-off-by: Martin George <marting@netapp.com>
nvme_feature_show(cfg.feature_id, cfg.sel, result);
if (NVME_CHECK(cfg.sel, GET_FEATURES_SEL, SUPPORTED))
nvme_show_select_result(cfg.feature_id, result);
- else if (verbose)
+ else if (verbose || !strcmp(nvme_cfg.output_format, "json"))
nvme_feature_show_fields(cfg.feature_id, result, buf);
else if (buf)
d(buf, cfg.data_len, 16, 1);