Closed jvilk-stripe closed 3 months ago
The non JSON output is due to the -v/--verbose
flag, which is used for debugging/diagnose purposes. Just leave it away and the rest should validate.
🤦 Sorry for taking your time! You are indeed right. Thank you for the help.
No worries, all good. I was pondering if we should just disable the verbose option for the JSON output format. Maybe we should extend the help text?
On Ubuntu Noble:
Apologies if this is fixed already; I searched the issues tracker and did not see it reported.
nvme id-ctrl
's JSON output option does not output valid JSON. The JSON is preceded by non-JSON output.Observed behavior:
Expected behavior: The output does not include the non-JSON output and begins at the first {.
The output above is all on stdout.
This is not an issue on Focal with nvme version 1.9.