]> www.infradead.org Git - users/hch/nvme-cli.git/commitdiff
vs-telemetry-controller-option - fix invalid options reporting
authorRandy <rbates@web-site.com>
Thu, 19 Mar 2020 14:42:44 +0000 (09:42 -0500)
committerKeith Busch <kbusch@kernel.org>
Thu, 23 Apr 2020 20:12:38 +0000 (14:12 -0600)
plugins/wdc/wdc-nvme.c

index ad86fdeea03b8460f58f0426debe460c99e6dc4a..c80c65da272e5d8d7dd0d86e85649ee38638c803 100644 (file)
@@ -3816,6 +3816,7 @@ static int wdc_vs_telemetry_controller_option(int argc, char **argv, struct comm
           }
           else {
                        fprintf(stderr, "ERROR : WDC: unsupported option for this command\n");
+                       fprintf(stderr, "Please provide an option, -d, -e or -s\n");
                        ret = -1;
                        goto out;
           }