linux-nvme / nvme-cli

NVMe management command line interface.
https://nvmexpress.org
GNU General Public License v2.0
1.41k stars 637 forks source link

nvme: update parse_args() return value handling #2386

Closed martin-gpy closed 2 weeks ago

martin-gpy commented 2 weeks ago

Treat non-zero return values from parse_args() as errors, and not just negative return values. Also makes this consistent with other functions in nvme.c where parse_args() is invoked.

ikegami-t commented 2 weeks ago

Looks good.

igaw commented 2 weeks ago

Thanks!