[PATCH] nvme-list: fix verbose JSON output for 'nvme list' command

Nilay Shroff nilay at linux.ibm.com
Tue Aug 5 03:18:30 PDT 2025



On 8/5/25 12:57 PM, Daniel Wagner wrote:
> On Tue, Aug 05, 2025 at 10:00:53AM +0530, Nilay Shroff wrote:
>>> https://github.com/linux-nvme/nvme-cli/issues/2886
>>
>> Okay so does it make sense to retain the old output with the
>> default --output-format-version=1? But then if the user selects
>> --output-format-version=2 then we'd switch to the new output 
>> format?
> 
> Yes, the default output for nvme-cli v2 should be
> --output-format-version=1. As suggested by Tomáš we can set default
> format version to 2, for the next major nvme-cli release.
> 
Okay so I have made changes for ensuring backward compatibility.
The changes are on its way...

Thanks,
--Nilay




More information about the Linux-nvme mailing list