]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
fabrics: error message for nvme discover/connect-all with no params
authorMartin George <marting@netapp.com>
Mon, 11 Apr 2022 12:03:17 +0000 (17:33 +0530)
committerMartin George <marting@netapp.com>
Mon, 11 Apr 2022 12:03:17 +0000 (17:33 +0530)
commit75fbd6966c88e6b2110c3f7c530fd3f7e2edde37
tree809f8d9fbe81f8257970bd958730ce6e17cf54a8
parent5a36baba322e7979175ed9dfeede0a96e29efc37
fabrics: error message for nvme discover/connect-all with no params

Currently when nvme discover or connect-all is called without
passing any params, it simply blanks out without any meaningful
error. So add an appropriate error message for such scenarios,
similar to what's done in the erstwhile nvme-cli-monolithic branch.

Signed-off-by: Martin George <marting@netapp.com>
fabrics.c