Skip to content

Commit 7690a7c

Browse files
committed
nvme: add dir-send command human-readable deprecated help text
Since the option is not used by the command actually. Signed-off-by: Tokunori Ikegami <[email protected]>
1 parent 3c1bab2 commit 7690a7c

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
@@ -200,6 +200,7 @@ static const char *block_count = "number of blocks (zeroes based) on device to a
200200
static const char *crkey = "current reservation key";
201201
static const char *csi = "command set identifier";
202202
static const char *buf_len = "buffer len (if) data is sent or received";
203+
static const char *deprecated = "deprecated; does nothing";
203204
static const char *domainid = "Domain Identifier";
204205
static const char *doper = "directive operation";
205206
static const char *dspec_w_dtype = "directive specification associated with directive type";
@@ -6912,7 +6913,7 @@ static int dir_send(int argc, char **argv, struct command *cmd, struct plugin *p
69126913
OPT_SHRT("dir-spec", 'S', &cfg.dspec, dspec_w_dtype),
69136914
OPT_BYTE("dir-oper", 'O', &cfg.doper, doper),
69146915
OPT_SHRT("endir", 'e', &cfg.endir, endir),
6915-
OPT_FLAG("human-readable", 'H', &cfg.human_readable, human_readable_directive),
6916+
OPT_FLAG("human-readable", 'H', &cfg.human_readable, deprecated),
69166917
OPT_FLAG("raw-binary", 'b', &cfg.raw_binary, raw_directive),
69176918
OPT_FILE("input-file", 'i', &cfg.file, input));
69186919

0 commit comments

Comments
 (0)