[PATCH RFC] nvme-cli: propose 'c' vs 'r' for connect flag
Jay Freyensee
james_p_freyensee at linux.intel.com
Thu Sep 22 15:37:20 PDT 2016
I am not sure if it matters too much except in possibly
human usage understanding, but '-r' is used in the 'discover'
command for --raw. Change the --reconnect-delay flag
single letter to something not being used in any fabrics
command.
Signed-off-by: Jay Freyensee <james_p_freyensee at linux.intel.com>
---
fabrics.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fabrics.c b/fabrics.c
index dff5d6a..5e892fb 100644
--- 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" },
{0},
};
--
2.7.4
More information about the Linux-nvme
mailing list