]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
nvme-cli: change 'r' to 'c' for connect flag
authorJay Freyensee <james_p_freyensee@linux.intel.com>
Fri, 23 Sep 2016 16:49:50 +0000 (09:49 -0700)
committerJay Freyensee <james_p_freyensee@linux.intel.com>
Mon, 26 Sep 2016 23:57:33 +0000 (16:57 -0700)
To make things a tad easier for human usage understanding,
refine the single letter short option of 'r' to 'c' for the
'connect' command as 'r' is already used by 'discover'.

Signed-off-by: Jay Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
fabrics.c

index b8068ba2bee5ea514fdf598f87e08d23f658d172..07184461ea0a512d1a0e8293541e78d0f13f1602 100644 (file)
--- a/fabrics.c
+++ b/fabrics.c
@@ -759,7 +759,7 @@ int connect(const char *desc, int argc, char **argv)
                 "number of io queues to use (default is core count)" },
                {"keep-alive-tmo", 'k', "LIST", CFG_STRING, &cfg.keep_alive_tmo, required_argument,
                        "keep alive timeout period in seconds" },
-               {"reconnect-delay", 'r', "LIST", CFG_STRING, &cfg.reconnect_delay, required_argument,
+               {"reconnect-delay", 'c', "LIST", CFG_STRING, &cfg.reconnect_delay, required_argument,
                        "reconnect timeout period in seconds" },
                {NULL},
        };