Skip to content

Commit c3df56d

Browse files
committed
[WIP] nvme: fix DSM option help text
1 parent 03f2953 commit c3df56d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

nvme.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ static const char *desc_doper = "directive operation";
553553
static const char *desc_dps = "data protection settings (DPS)";
554554
static const char *desc_dspec = "directive specific (for write-only)";
555555
static const char *desc_dspec_w_dtype = "directive specification associated with directive type";
556+
static const char *desc_dsm = "dataset management field (for write-only)";
556557
static const char *desc_dst_entries = "Indicate how many DST log entries to be retrieved, "
557558
"by default all the 20 entries will be retrieved";
558559
static const char *desc_dtype = "directive type";
@@ -8474,7 +8475,7 @@ static int submit_io(int opcode, char *command, const char *desc, int argc, char
84748475
OPT_FLAG("storage-tag-check", 'C', &cfg.stc, desc_storage_tag_check),
84758476
OPT_BYTE("dir-type", 'T', &cfg.dtype, desc_dtype_for_write),
84768477
OPT_SHRT("dir-spec", 'S', &cfg.dspec, desc_dspec),
8477-
OPT_BYTE("dsm", 'D', &cfg.dsmgmt, desc_cmd_dsm),
8478+
OPT_BYTE("dsm", 'D', &cfg.dsmgmt, desc_dsm),
84788479
OPT_FLAG("show-command", 'V', &cfg.show, desc_show_submit_io),
84798480
OPT_FLAG("latency", 't', &cfg.latency, desc_latency),
84808481
OPT_FLAG("force", 0, &cfg.force, desc_force_submit_io));

0 commit comments

Comments
 (0)