commit 420d5145230041e0256f0f950a36c4ecaed4d584 Author: Barnali Guha Thakurata Date: Mon Jan 8 16:59:33 2024 +0530 diag_nvme help output update This patch changes "nvme_devices" in the help output of diag_nvme to "nvmen ..." so that it matches with the naming convention in the manual page Before patch: diags/diag_nvme --help Usage: diags/diag_nvme [-h] [] -h or --help: print this help message : the NVMe devices on which to operate, for example nvme0; if not specified, all detected nvme devices will be diagnosed man diags/man/diag_nvme.8 ... SYNOPSIS diag_nvme [] diag_nvme diag_nvme --help ... After patch: diags/diag_nvme --help Usage: diags/diag_nvme [-h] [] -h or --help: print this help message : the NVMe devices on which to operate, for example nvme0; if not specified, all detected nvme devices will be diagnosed man diags/man/diag_nvme.8 ... SYNOPSIS diag_nvme [] diag_nvme diag_nvme --help ... Signed-off-by: Barnali Guha Thakurata diff --git a/diags/diag_nvme.c b/diags/diag_nvme.c index c1c0a20..2a74007 100644 --- a/diags/diag_nvme.c +++ b/diags/diag_nvme.c @@ -989,9 +989,9 @@ extern int open_nvme(char *dev_path) { } static void print_usage(char *command) { - printf("Usage: %s [-h] []\n" + printf("Usage: %s [-h] []\n" "\t-h or --help: print this help message\n" - "\t: the NVMe devices on which to operate, for\n" + "\t: the NVMe devices on which to operate, for\n" "\t example nvme0; if not specified, all detected\n" "\t nvme devices will be diagnosed\n", command); }