From 6444405aa126a6286009a9516221a3e1750f113e Mon Sep 17 00:00:00 2001 From: Minwoo Im Date: Sun, 7 Apr 2019 19:32:53 +0900 Subject: [PATCH] nvme: Simplify virt-mgmt options to lowercase All the other subcommand options are supported with lowercase, but virt-mgmt subcommand has long argument name started with uppercase. This can be simplified to a lowercase with being the same with the names on spec document. Signed-off-by: Minwoo Im --- nvme.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nvme.c b/nvme.c index 6dc51969..8bc4ea5f 100644 --- a/nvme.c +++ b/nvme.c @@ -2239,10 +2239,10 @@ static int virtual_mgmt(int argc, char **argv, struct command *cmd, struct plugi }; const struct argconfig_commandline_options command_line_options[] = { - {"Controller-identifier", 'c', "NUM", CFG_POSITIVE, &cfg.cntlid, required_argument, cntlid}, - {"Resource-type", 'r', "NUM", CFG_POSITIVE, &cfg.rt, required_argument, rt}, - {"Action", 'a', "NUM", CFG_POSITIVE, &cfg.act, required_argument, act}, - {"Number-of-controller-resources", 'n', "NUM", CFG_POSITIVE, &cfg.cdw11, required_argument, nr}, + {"cntlid", 'c', "NUM", CFG_POSITIVE, &cfg.cntlid, required_argument, cntlid}, + {"rt", 'r', "NUM", CFG_POSITIVE, &cfg.rt, required_argument, rt}, + {"act", 'a', "NUM", CFG_POSITIVE, &cfg.act, required_argument, act}, + {"nr", 'n', "NUM", CFG_POSITIVE, &cfg.cdw11, required_argument, nr}, {NULL} }; -- 2.50.1